The getData() tests did have a test case for a 'user' group module with
isKnownEmpty in the script-only queue, but not yet a non-empty one.
The makeLoad() tests did have both already. Arguably the makeLoad()
tests are higher level and observe its behaviour already (outputting
a script tag means 'loading', outputting nothing means 'ready'),
but adding it to the getData() tests for consistency.
Bug: T188689
Change-Id: I842febf996ba8bb0ea25b5ca3b5ac4503db87376
] );
$client->setModuleScripts( [
'test.scripts',
] );
$client->setModuleScripts( [
'test.scripts',
'test.scripts.user.empty',
'test.scripts.shouldembed',
'test.unregistered.scripts',
'test.scripts.user.empty',
'test.scripts.shouldembed',
'test.unregistered.scripts',
'test.styles.private' => 'ready',
'test.styles.shouldembed' => 'ready',
'test.scripts' => 'loading',
'test.styles.private' => 'ready',
'test.styles.shouldembed' => 'ready',
'test.scripts' => 'loading',
+ 'test.scripts.user' => 'loading',
'test.scripts.user.empty' => 'ready',
'test.scripts.shouldembed' => 'loading',
],
'test.scripts.user.empty' => 'ready',
'test.scripts.shouldembed' => 'loading',
],
],
'scripts' => [
'test.scripts',
],
'scripts' => [
'test.scripts',
'test.scripts.shouldembed',
],
'embed' => [
'test.scripts.shouldembed',
],
'embed' => [