Commit Graph
28 Commits
Author SHA1 Message Date
David Goodwin a05f87723f reformat 2019-02-10 12:12:28 +00:00
David Goodwin 0afdb5619b fix tests 2019-02-10 11:08:18 +00:00
David Goodwin b4564958a1 phpdoc; touch sqlite file before trying to use it in tests 2019-02-10 11:03:52 +00:00
David Goodwin 98536f03e8 fix sqlite upgrade check; remove test database between runs; ignore lib/array_column.php from linting 2019-01-06 21:39:54 +00:00
David Goodwin 803e2342f8 fix psalm issues; reformat; rename new db functions 2019-01-06 21:32:58 +00:00
David Goodwin 1176c9ce78 reformat; fix some transition bugs 2019-01-06 21:32:58 +00:00
David Goodwin ea33d9951a try migrating to pdo 2019-01-06 21:32:58 +00:00
David Goodwin a500d2557e fix indentation 2019-01-03 19:47:42 +00:00
David Goodwin 897893f3ce fix indentation 2019-01-03 18:51:11 +00:00
David Goodwin b2e814967f try and get working under travis ... 2018-12-29 21:45:12 +00:00
David Goodwin 590c80f0bc add more unit tests; re-enable random_int warning in functions.inc.php for old php versions etc etc 2018-12-29 20:54:25 +00:00
David Goodwin 4fcdba9cf4 run php-cs-fixer (code reforamt) 2018-12-28 19:31:43 +00:00
David Goodwin 97528f3ebd remove var_dumps; fix assertEqual -> assertEquals and other random psalm findings 2018-12-27 13:54:41 +00:00
David Goodwin 93cc4d9e8c update phpunit tests to use different parent class 2018-12-27 13:14:10 +00:00
David Goodwin 7282928e6d update generate_password() to allow length to be specified; update test 2018-05-02 21:19:47 +01:00
David Goodwin b48f99d4c6 reformat (phpcs) 2018-05-02 12:54:17 +01:00
David Goodwin 2f2730ffa0 add more tests 2018-04-29 21:53:46 +01:00
David Goodwin 0d211949c9 skip tests unless configuraton updated 2018-04-29 20:27:33 +01:00
David Goodwin b79ad2ae28 composer format ... 2018-02-19 21:01:23 +00:00
David Goodwin 6446f3f6cc split up pacrypt() into different functions; add some minimal test coverage 2018-02-19 20:59:52 +00:00
David Goodwin 12242b0893 add ZF1 as a dependency and phpunit; remove require/include calls from tests/ 2018-02-18 20:23:15 +00:00
Adrien Crivelli 15df6c1d7b Reformat everything with PHP-Cs-Fixer 2018-01-26 23:54:37 +09:00
David Goodwin 3be13f059d this will probably migrate us to phpunit; stupid dev env is misbehaving though so it is hard to test
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1017 a1433add-5e2c-0410-b055-b7f2511e0802
2011-03-17 22:38:03 +00:00
David Goodwin 820256011f go away; move to use phpunit from pear
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1016 a1433add-5e2c-0410-b055-b7f2511e0802
2011-03-17 22:13:19 +00:00
Christian Boltz eb6e7e0709 model/*, tests/*:
- added a vim: comment for tab expansion etc.


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@628 a1433add-5e2c-0410-b055-b7f2511e0802
2009-04-15 21:54:18 +00:00
David Goodwin 0ab2de5d9e add testing for xmlrpc alias manipulations
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@587 a1433add-5e2c-0410-b055-b7f2511e0802
2009-03-16 20:16:50 +00:00
David Goodwin 8d44769372 add tests for User stuff
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@584 a1433add-5e2c-0410-b055-b7f2511e0802
2009-03-16 19:49:19 +00:00
David Goodwin 9ee45c69c8 tests: add initial simpletest unit tests for the xmlrpc stuff
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@581 a1433add-5e2c-0410-b055-b7f2511e0802
2009-03-15 21:24:56 +00:00