Index: trunk/extensions/FlaggedRevs/maintenance/tests/FRUserCountersTest.php |
— | — | @@ -1,7 +1,5 @@ |
2 | 2 | <?php |
3 | 3 | |
4 | | -require_once 'PHPUnit\Framework\TestCase.php'; |
5 | | - |
6 | 4 | class FRUserCountersTest extends PHPUnit_Framework_TestCase { |
7 | 5 | /** |
8 | 6 | * Prepares the environment before running a test. |
Index: trunk/extensions/FlaggedRevs/maintenance/tests/FRInclusionManagerTest.php |
— | — | @@ -1,7 +1,5 @@ |
2 | 2 | <?php |
3 | 3 | |
4 | | -require_once 'PHPUnit\Framework\TestCase.php'; |
5 | | - |
6 | 4 | class FRInclusionManagerTest extends PHPUnit_Framework_TestCase { |
7 | 5 | /* starting input */ |
8 | 6 | protected static $inputTemplates = array( |
— | — | @@ -16,7 +14,7 @@ |
17 | 15 | 'Filele' => array('ts' => 0, 'sha1' => ''), |
18 | 16 | '0' => array('ts' => '20000203101350', 'sha1' => 'ae33'), |
19 | 17 | ); |
20 | | - /* output to test against (test# => <NS,dbkey,expected rev ID>) */ |
| 18 | + /* output to test against (<test,NS,dbkey,expected rev ID>) */ |
21 | 19 | protected static $reviewedOutputTemplates = array( |
22 | 20 | array( "Output version when given '1224'", 10, 'XX', 1242 ), |
23 | 21 | array( "Output version when given '0'", 10, 'YY', 0 ), |
— | — | @@ -35,7 +33,7 @@ |
36 | 34 | array( "Output version when given 13", 0, '0', 13 ), |
37 | 35 | array( "Output version when not given", 0, 'NotexistsPage1111', 0 ), |
38 | 36 | ); |
39 | | - /* output to test against (test# => <dbkey,expected TS,expected sha1>) */ |
| 37 | + /* output to test against (<test,dbkey,expected TS,expected sha1>) */ |
40 | 38 | protected static $reviewedOutputFiles = array( |
41 | 39 | array( "Output version when given '20100405192110'/'abc1'", |
42 | 40 | 'FileXX', '20100405192110', 'abc1'), |