diff options
author | Andreas Gohr <andi@splitbrain.org> | 2016-08-09 21:55:05 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2016-08-09 21:55:05 +0200 |
commit | db5867f121b19818346eefca38c4fc13a71ff66c (patch) | |
tree | 809da62ad642f149ed8f822db289d43131c837b4 /lib/scripts/jquery/jquery-ui.js | |
parent | d6c7b502a6fc7d9ed97c8e4be017dec347fb916a (diff) | |
download | dokuwiki-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/jquery/jquery-ui.js')
0 files changed, 0 insertions, 0 deletions