Skip to content

Commit 0a38292

Browse files
committed
Fix build
1 parent 33c8df0 commit 0a38292

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/MetadataMinifierTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class MetadataMinifierTest extends TestCase
2424
public function testMinifyExpand()
2525
{
2626
$package1 = new CompletePackage('foo/bar', '2.0.0.0', '2.0.0');
27-
$package1->setScripts(array('foo' => ['bar']));
27+
$package1->setScripts(array('foo' => array('bar')));
2828
$package1->setLicense(array('MIT'));
2929
$package2 = new CompletePackage('foo/bar', '1.2.0.0', '1.2.0');
3030
$package2->setLicense(array('GPL'));
@@ -34,7 +34,7 @@ public function testMinifyExpand()
3434
$dumper = new ArrayDumper();
3535

3636
$minified = array(
37-
array('name' => 'foo/bar', 'version' => '2.0.0', 'version_normalized' => '2.0.0.0', 'type' => 'library', 'scripts' => array('foo' => 'bar'), 'license' => array('MIT')),
37+
array('name' => 'foo/bar', 'version' => '2.0.0', 'version_normalized' => '2.0.0.0', 'type' => 'library', 'scripts' => array('foo' => array('bar')), 'license' => array('MIT')),
3838
array('version' => '1.2.0', 'version_normalized' => '1.2.0.0', 'license' => array('GPL'), 'homepage' => 'https://example.org', 'scripts' => '__unset'),
3939
array('version' => '1.0.0', 'version_normalized' => '1.0.0.0', 'homepage' => '__unset'),
4040
);

0 commit comments

Comments
 (0)