From e57120d16c0adcef25115a3f676ac4ca705dede3 Mon Sep 17 00:00:00 2001 From: Arturs Konfino <68226561+arturskonfino@users.noreply.github.com> Date: Sat, 21 Nov 2020 14:42:15 +0200 Subject: [PATCH] Updated unit tests --- tests/unitTests/AssetOperationTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/unitTests/AssetOperationTest.php b/tests/unitTests/AssetOperationTest.php index 4c5fc7d..0d9b917 100644 --- a/tests/unitTests/AssetOperationTest.php +++ b/tests/unitTests/AssetOperationTest.php @@ -29,7 +29,8 @@ public function testBuildFromArray() 'priority' => 99, 'metadata' => [ 'foo' => 'bar' - ] + ], + 'action' => 'add' ], 'bar/baz', 'vendor/bar/baz'); $this->assertSame(AssetOperation::ADD, $assetOperation->getOperation()); $this->assertSame('foo', $assetOperation->getAsset()->getValue());