Hashar has uploaded a new change for review. https://gerrit.wikimedia.org/r/80981
Change subject: test: run autoloader suite ...................................................................... test: run autoloader suite The autoloader tests were not properly registed and would thus never trigger an error whenever an entry is missing. Also register PageORMTableForTesting which was missing though it does not have any impact. bug: 47750 Change-Id: If31598bb84b8acfc2064630850ebf720f2555129 --- M RELEASE-NOTES-1.21 M tests/TestsAutoLoader.php M tests/phpunit/suite.xml 3 files changed, 5 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/81/80981/1 diff --git a/RELEASE-NOTES-1.21 b/RELEASE-NOTES-1.21 index 55077c7..9586ad8 100644 --- a/RELEASE-NOTES-1.21 +++ b/RELEASE-NOTES-1.21 @@ -10,6 +10,9 @@ === Changes since 1.21.1 === * (bug 51064) Purge upstream caches when deleting file assets. +* (bug 47750) Unit test suite now runs the AutoLoader tests. Also fixed the + autoloading entry for the PageORMTableForTesting class though it had no + impact. == MediaWiki 1.21.1 == diff --git a/tests/TestsAutoLoader.php b/tests/TestsAutoLoader.php index 264ba69..c1c301f 100644 --- a/tests/TestsAutoLoader.php +++ b/tests/TestsAutoLoader.php @@ -47,6 +47,7 @@ //db 'ORMTableTest' => "$testDir/phpunit/includes/db/ORMTableTest.php", + 'PageORMTableForTesting' => "$testDir/phpunit/includes/db/ORMTableTest.php", //Selenium 'SeleniumTestConstants' => "$testDir/selenium/SeleniumTestConstants.php", diff --git a/tests/phpunit/suite.xml b/tests/phpunit/suite.xml index 56f6447..8f7e977 100644 --- a/tests/phpunit/suite.xml +++ b/tests/phpunit/suite.xml @@ -29,6 +29,7 @@ <directory>maintenance</directory> </testsuite> <testsuite name="structure"> + <file>AutoLoaderTest.php</file> <file>StructureTest.php</file> </testsuite> <testsuite name="uploadfromurl"> -- To view, visit https://gerrit.wikimedia.org/r/80981 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: If31598bb84b8acfc2064630850ebf720f2555129 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: REL1_21 Gerrit-Owner: Hashar <has...@free.fr> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits