Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
[ci skip] [skip ci]
  • Loading branch information
lukepolo authored and StyleCIBot committed Oct 25, 2018
1 parent d527152 commit 4f23263
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/ItemsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down Expand Up @@ -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);
}
Expand Down

0 comments on commit 4f23263

Please sign in to comment.