File tree Expand file tree Collapse file tree 2 files changed +15
-5
lines changed Expand file tree Collapse file tree 2 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -9,11 +9,16 @@ class FlashTest extends PHPUnit_Framework_TestCase {
99
1010 protected $ flash ;
1111
12- public function setUp ( )
13- {
12+ public function __construct ( $ name = null , array $ data = [], $ dataName = '' )
13+ {
1414 $ this ->session = m::mock ('FlashMessage\SessionStore ' );
15+ return parent ::__construct ($ name , $ data , $ dataName );
16+ }
17+
18+ public function setUp ()
19+ {
1520 $ this ->flash = new FlashNotifier ($ this ->session );
16- }
21+ }
1722
1823 /** @test */
1924 public function it_displays_default_flash_notifications ()
Original file line number Diff line number Diff line change @@ -9,9 +9,14 @@ class ImportantTest extends PHPUnit_Framework_TestCase {
99
1010 protected $ flash ;
1111
12- public function setUp ( )
13- {
12+ public function __construct ( $ name = null , array $ data = [], $ dataName = '' )
13+ {
1414 $ this ->session = m::mock ('FlashMessage\SessionStore ' );
15+ return parent ::__construct ($ name , $ data , $ dataName );
16+ }
17+
18+ public function setUp ()
19+ {
1520 $ this ->flash = new FlashNotifier ($ this ->session );
1621 }
1722
You can’t perform that action at this time.
0 commit comments