Tests: `name` option is now required

Since SkinVector provides name via skin.json the name must be
passed in the test constructor.

This will be required as part of
I5772eb760e4fc56d2062a333ba4d7ca6995f3db2

Change-Id: I4087deb8b0726c9959ac15d77a0ed2442e4890f6
This commit is contained in:
jdlrobson 2020-09-18 08:55:45 -07:00
parent 7a7f80c09a
commit dbf5d7084a
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ class SkinVectorTest extends MediaWikiIntegrationTestCase {
* @return \VectorTemplate
*/
private function provideVectorTemplateObject() {
$template = new SkinVector();
$template = new SkinVector( [ 'name' => 'vector' ] );
return $template;
}