aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/scripts
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2016-08-09 21:55:05 +0200
committerAndreas Gohr <andi@splitbrain.org>2016-08-09 21:55:05 +0200
commitdb5867f121b19818346eefca38c4fc13a71ff66c (patch)
tree809da62ad642f149ed8f822db289d43131c837b4 /lib/scripts
parentd6c7b502a6fc7d9ed97c8e4be017dec347fb916a (diff)
downloaddokuwiki-db5867f121b19818346eefca38c4fc13a71ff66c.tar.gz
dokuwiki-db5867f121b19818346eefca38c4fc13a71ff66c.zip
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.
Diffstat (limited to 'lib/scripts')
0 files changed, 0 insertions, 0 deletions