wiki.techinc.nl/tests/phpunit/includes/api/query
aude 851552a5c4 Replace use of assertType with assertInternalType and assertInstanceOf
These are available in phpunit since 3.5.0, which I think
is reasonable to expect people to have at this point,
especially when we actually require 3.7.0 or higher in phpunit.php:

Use assertSame instead of assertArrayEquals in UIDGeneratorTest.
assertSame (and assertEqual) care about sortorder of the array,
and is perfectly sufficient in this case to check they array is correct.

if ( $puVersion !== '@package_version@' && version_compare( $puVersion, '3.7.0', '<' ) ) {
        die( "PHPUnit 3.7.0 or later required; you have {$puVersion}.\n" );
}

Change-Id: Ic32ab45110e4c4304ef046ae8d0e98c741255559
2015-04-09 01:15:44 -04:00
..
ApiQueryBasicTest.php Remove require_once from some tests by adding classes to TestsAutoLoader 2014-11-12 20:24:08 +01:00
ApiQueryContinue2Test.php Remove require_once from some tests by adding classes to TestsAutoLoader 2014-11-12 20:24:08 +01:00
ApiQueryContinueTest.php Remove require_once from some tests by adding classes to TestsAutoLoader 2014-11-12 20:24:08 +01:00
ApiQueryContinueTestBase.php Remove require_once from some tests by adding classes to TestsAutoLoader 2014-11-12 20:24:08 +01:00
ApiQueryRevisionsTest.php
ApiQueryTest.php Use also $wgAutoloadClasses in tests for module names 2015-01-06 13:21:17 +00:00
ApiQueryTestBase.php Replace use of assertType with assertInternalType and assertInstanceOf 2015-04-09 01:15:44 -04:00