return null;
} return file_get_contents($file);
});
$this->scriptReader =
new ScriptFileReader($loader);
} public function testGetScriptPathsForApp(): void
{ $scripts =
$this->scriptReader->
getScriptPathsForApp('Manifest/_fixtures/test'
);
sort($scripts);
static::
assertEquals( [ 'app-activated/activate-script.twig',
'app-deactivated/deactivate-script.twig',
'app-deleted/delete-script.twig',
'app-installed/install-script.twig',
'app-updated/update-script.twig',
'product-page-loaded/product-page-script.twig',
],