From 4f23263daf6dbf19d51883cda79e3d12f0d9c7ba Mon Sep 17 00:00:00 2001 From: Luke Policinski Date: Thu, 25 Oct 2018 15:39:08 +0000 Subject: [PATCH] Apply fixes from StyleCI [ci skip] [skip ci] --- tests/ItemsTest.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/ItemsTest.php b/tests/ItemsTest.php index 82c8ffd..c7005ab 100644 --- a/tests/ItemsTest.php +++ b/tests/ItemsTest.php @@ -21,9 +21,8 @@ public function testAddItem() Event::assertDispatched('laracart.addItem', function ($e, $item) use ($cartItem) { return $item === $cartItem; }); - - $this->assertEquals(1, Event::dispatched('laracart.addItem')->count()); + $this->assertEquals(1, Event::dispatched('laracart.addItem')->count()); $this->addItem(); @@ -145,7 +144,7 @@ public function testUpdateItem() Event::assertDispatched('laracart.updateItem', function ($e, $eventItem) use ($item) { return $eventItem['item'] === $item && $eventItem['newHash'] === $item->getHash(); }); - + $this->assertEquals(1, Event::dispatched('laracart.updateItem')->count()); $this->assertEquals(4, $item->qty); }