'factory' => function () {
$mock = $this->getMockBuilder( ResourceLoaderTestModule::class )
->setMethods( [ 'getVersionHash' ] )->getMock();
- $mock->method( 'getVersionHash' )->willReturn( '1234567' );
+ $mock->method( 'getVersionHash' )->willReturn( '12345' );
return $mock;
}
]
mw.loader.register([
[
"test.version",
- "1234567"
+ "12345"
]
]);',
] ],
mw.loader.register([
[
"test.version",
- "016es8l"
+ "16es8"
]
]);',
] ],
"test.group.foo",
"{blankVer}",
[],
- "x-foo"
+ 2
],
[
"test.group.bar",
"{blankVer}",
[],
- "x-bar"
+ 3
]
]);'
] ],
"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"
]
]);'