From f65e036c66686052d885b483725a1d4daa9f79be Mon Sep 17 00:00:00 2001 From: Rob Gloudemans Date: Wed, 12 Feb 2014 20:07:16 +0100 Subject: [PATCH] Updated test class --- tests/CartTest.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/CartTest.php b/tests/CartTest.php index b4346ee..ab6400c 100644 --- a/tests/CartTest.php +++ b/tests/CartTest.php @@ -10,16 +10,15 @@ require_once 'SessionMock.php'; class CartTest extends PHPUnit_Framework_TestCase { - protected $session; protected $events; protected $cart; public function setUp() { - $this->session = new SessionMock; + $session= new SessionMock; $this->events = m::mock('Illuminate\Events\Dispatcher'); - $this->cart = new Cart($this->session, $this->events); + $this->cart = new Cart($session, $this->events); } public function tearDown()