X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fresourceloader%2FResourceLoaderStartUpModuleTest.php;h=9bbf14d80182f428a018467b697bdaa142ceadb1;hb=1a76004e99e9994261b31bc2c1076346cdc2059c;hp=213eed2aea952b402650813cb68cc1aaf38a29bb;hpb=9d9b2e385414c4cde629e8745088dfa48a61f12f;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/resourceloader/ResourceLoaderStartUpModuleTest.php b/tests/phpunit/includes/resourceloader/ResourceLoaderStartUpModuleTest.php index 213eed2aea..9bbf14d801 100644 --- a/tests/phpunit/includes/resourceloader/ResourceLoaderStartUpModuleTest.php +++ b/tests/phpunit/includes/resourceloader/ResourceLoaderStartUpModuleTest.php @@ -261,7 +261,7 @@ mw.loader.state({ 'factory' => function () { $mock = $this->getMockBuilder( ResourceLoaderTestModule::class ) ->setMethods( [ 'getVersionHash' ] )->getMock(); - $mock->method( 'getVersionHash' )->willReturn( '1234567' ); + $mock->method( 'getVersionHash' )->willReturn( '12345' ); return $mock; } ] @@ -273,7 +273,7 @@ mw.loader.addSource({ mw.loader.register([ [ "test.version", - "1234567" + "12345" ] ]);', ] ], @@ -296,7 +296,7 @@ mw.loader.addSource({ mw.loader.register([ [ "test.version", - "016es8l" + "16es8" ] ]);', ] ], @@ -326,13 +326,13 @@ mw.loader.register([ "test.group.foo", "{blankVer}", [], - "x-foo" + 2 ], [ "test.group.bar", "{blankVer}", [], - "x-bar" + 3 ] ]);' ] ], @@ -640,25 +640,25 @@ mw.loader.register([ "test.group.foo.1", "{blankVer}", [], - "x-foo" + 2 ], [ "test.group.foo.2", "{blankVer}", [], - "x-foo" + 2 ], [ "test.group.bar.1", "{blankVer}", [], - "x-bar" + 3 ], [ "test.group.bar.2", "{blankVer}", [], - "x-bar", + 3, "example" ] ]);'