aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/resourceloader/ResourceLoaderModuleTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/phpunit/includes/resourceloader/ResourceLoaderModuleTest.php')
-rw-r--r--tests/phpunit/includes/resourceloader/ResourceLoaderModuleTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/phpunit/includes/resourceloader/ResourceLoaderModuleTest.php b/tests/phpunit/includes/resourceloader/ResourceLoaderModuleTest.php
index 110eb026f79e..86434ca5beec 100644
--- a/tests/phpunit/includes/resourceloader/ResourceLoaderModuleTest.php
+++ b/tests/phpunit/includes/resourceloader/ResourceLoaderModuleTest.php
@@ -210,7 +210,7 @@ class ResourceLoaderModuleTest extends ResourceLoaderTestCase {
$module = $this->getMockBuilder( ResourceLoaderTestModule::class )
->onlyMethods( [ 'getPreloadLinks' ] )->getMock();
$module->method( 'getPreloadLinks' )->willReturn( [
- 'https://example.org/script.js' => [ 'as' => 'script' ],
+ 'https://example.org/script.js' => [ 'as' => 'script' ],
] );
$this->assertSame(
[
@@ -223,8 +223,8 @@ class ResourceLoaderModuleTest extends ResourceLoaderTestCase {
$module = $this->getMockBuilder( ResourceLoaderTestModule::class )
->onlyMethods( [ 'getPreloadLinks' ] )->getMock();
$module->method( 'getPreloadLinks' )->willReturn( [
- 'https://example.org/script.js' => [ 'as' => 'script' ],
- '/example.png' => [ 'as' => 'image' ],
+ 'https://example.org/script.js' => [ 'as' => 'script' ],
+ '/example.png' => [ 'as' => 'image' ],
] );
$this->assertSame(
[