Searched hist:db5867f121b19818346eefca38c4fc13a71ff66c (Results 1 – 2 of 2) sorted by relevance
/dokuwiki/_test/tests/inc/parser/ |
H A D | lexer.test.php | db5867f121b19818346eefca38c4fc13a71ff66c Tue Aug 09 19:55:05 UTC 2016 Andreas Gohr <andi@splitbrain.org> fix tests for newer PHPUnit. fixes #1643
getMock is deprecated in new PHPUnit versions and createMock is the recommended replacement. However that one is not available in older PHPUnit releases. Since we still support older PHP releases we have to support older PHPUnit releases as well.
This add some compatibility functions to our TestCase class and replaces all calls to getMock. Tested with PHPUnit 4.6.6 and 5.5.0.
|
/dokuwiki/_test/core/ |
H A D | DokuWikiTest.php | db5867f121b19818346eefca38c4fc13a71ff66c Tue Aug 09 19:55:05 UTC 2016 Andreas Gohr <andi@splitbrain.org> fix tests for newer PHPUnit. fixes #1643
getMock is deprecated in new PHPUnit versions and createMock is the recommended replacement. However that one is not available in older PHPUnit releases. Since we still support older PHP releases we have to support older PHPUnit releases as well.
This add some compatibility functions to our TestCase class and replaces all calls to getMock. Tested with PHPUnit 4.6.6 and 5.5.0.
|