wiki.techinc.nl/tests/phpunit/includes/resourceloader
umherirrender 1647bb07fc Fix phpunit for wikis with $wgResourceLoaderValidateJS = false
1) ResourceLoaderModuleTest::testValidateScriptFile
Replace invalid syntax with error logging
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'var a = 'this is';
- {
-invalid'
+'mw.log.error("JavaScript parse error: Parse error: Unexpected token;
token } expected in file 'input' on line 3");'

Change-Id: I0271de4bf2d5bcc50eaf5c0e999e16e554985805
2015-12-07 17:38:28 +01:00
..
templates
DerivativeResourceLoaderContextTest.php resourceloader: Include 'raw' in ResourceLoaderContext hash 2015-11-17 21:48:03 +00:00
MessageBlobStoreTest.php Add unit tests for MessageBlobStore 2015-11-21 00:09:47 +00:00
ResourceLoaderFileModuleTest.php phpcs: Use __DIR__ constant instead of calling 2015-11-15 21:14:42 +01:00
ResourceLoaderImageModuleTest.php Wrap some long strings in tests/ 2015-09-26 21:01:59 +01:00
ResourceLoaderImageTest.php Wrap some long strings in tests/ 2015-09-26 21:01:59 +01:00
ResourceLoaderModuleTest.php Fix phpunit for wikis with $wgResourceLoaderValidateJS = false 2015-12-07 17:38:28 +01:00
ResourceLoaderStartUpModuleTest.php resourceloader: Centralise expected version hash for blank test modules 2015-11-17 04:30:04 +00:00
ResourceLoaderTest.php resourceloader: Fully remove ResourceLoaderLESSFunctions 2015-09-04 01:41:40 +00:00
ResourceLoaderWikiModuleTest.php Wrap some long strings in tests/ 2015-09-26 21:01:59 +01:00