wiki.techinc.nl/tests/phpunit/structure
Timo Tijhof 8199e028fd resourceloader: Remove slow structure test for checking getVersionHash
This isn't needed because the startup module validates this already.

The vast majority of modules are FileModule instances which can't be invalid,
because a separate test asserts that class already. This test existed for
validating the format of version hashes returned by a theoretical Module
sub class in an extension that (badly) overrides the getVersionHash method.

As of writing, no extension overrides that method. And more importantly,
the startup module already validates this at run-time, and logs a warning.
This commit turns that into an exception, which would get logged in a way
that Jenkins will fail the build if encountered.

This structure test, which computed the response for all registered modules,
previously took 3-5 seconds in CI.

Bug: T225730
Change-Id: Id2e37434b0ccd95dd2279f04e2230e9c06b09ccb
2019-08-01 15:33:23 +00:00
..
ApiPrefixUniquenessTest.php Revert "Separate MediaWiki unit and integration tests" 2019-06-13 23:00:08 +00:00
ApiStructureTest.php Exempt structure tests from @covers checks 2019-06-11 21:40:14 +00:00
AutoLoaderStructureTest.php AutoLoader: Skip tokenizing of irrelevant lines in ClassCollector 2019-06-19 15:09:49 +00:00
AvailableRightsTest.php Exempt structure tests from @covers checks 2019-06-11 21:40:14 +00:00
ContentHandlerSanityTest.php Revert "Separate MediaWiki unit and integration tests" 2019-06-13 23:00:08 +00:00
DatabaseIntegrationTest.php Exempt structure tests from @covers checks 2019-06-11 21:40:14 +00:00
ExtensionJsonValidationTest.php Exempt structure tests from @covers checks 2019-06-11 21:40:14 +00:00
PasswordPolicyStructureTest.php Revert "Separate MediaWiki unit and integration tests" 2019-06-13 23:00:08 +00:00
ResourcesTest.php resourceloader: Remove slow structure test for checking getVersionHash 2019-08-01 15:33:23 +00:00
SpecialPageFatalTest.php Run SpecialPageFatalTest with lang=qqx 2019-07-08 14:52:06 +02:00
StructureTest.php Revert "Separate MediaWiki unit and integration tests" 2019-06-13 23:00:08 +00:00