From d54c754de1107020eb8d4e8d5ce6d6f056f26d9f Mon Sep 17 00:00:00 2001 From: Deleu Date: Tue, 18 Apr 2017 14:47:34 -0300 Subject: [PATCH] Compatibility with PHPUnit 6.0 --- src/TestCase.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/TestCase.php b/src/TestCase.php index aee00c3bf..9410420cf 100644 --- a/src/TestCase.php +++ b/src/TestCase.php @@ -32,11 +32,12 @@ abstract class TestCase extends FoundationTestCase /** * Register the base URL with Dusk. * - * @before * @return void */ - public function propagateScaffoldingToBrowser() + public function setUp() { + parent::setUp(); + Browser::$baseUrl = $this->baseUrl(); Browser::$storeScreenshotsAt = base_path('tests/Browser/screenshots');