From 948247c2fbf479328f8e2fd135225b4a2fe2a04b Mon Sep 17 00:00:00 2001 From: Nafies Luthfi Date: Wed, 27 Feb 2019 13:28:08 +0800 Subject: [PATCH] Remove browserkit setup method override --- src/stubs/testcases/browserkit-base-class.stub | 6 ------ tests/Generators/FeatureTestGeneratorTest.php | 12 ------------ tests/Generators/Simple/FeatureTestGeneratorTest.php | 12 ------------ 3 files changed, 30 deletions(-) diff --git a/src/stubs/testcases/browserkit-base-class.stub b/src/stubs/testcases/browserkit-base-class.stub index c0aa4c7..e5bdc1f 100644 --- a/src/stubs/testcases/browserkit-base-class.stub +++ b/src/stubs/testcases/browserkit-base-class.stub @@ -11,12 +11,6 @@ abstract class BrowserKitTest extends BaseTestCase protected $baseUrl = 'http://localhost'; - protected function setUp() - { - parent::setUp(); - \Hash::setRounds(5); - } - protected function loginAsUser() { $user = $this->createUser(); diff --git a/tests/Generators/FeatureTestGeneratorTest.php b/tests/Generators/FeatureTestGeneratorTest.php index eb289dd..2780f24 100644 --- a/tests/Generators/FeatureTestGeneratorTest.php +++ b/tests/Generators/FeatureTestGeneratorTest.php @@ -25,12 +25,6 @@ abstract class BrowserKitTest extends BaseTestCase protected \$baseUrl = 'http://localhost'; - protected function setUp() - { - parent::setUp(); - \Hash::setRounds(5); - } - protected function loginAsUser() { \$user = \$this->createUser(); @@ -245,12 +239,6 @@ abstract class {$baseTestClass} extends BaseTestCase protected \$baseUrl = 'http://localhost'; - protected function setUp() - { - parent::setUp(); - \Hash::setRounds(5); - } - protected function loginAsUser() { \$user = \$this->createUser(); diff --git a/tests/Generators/Simple/FeatureTestGeneratorTest.php b/tests/Generators/Simple/FeatureTestGeneratorTest.php index 1f82468..41aaa41 100644 --- a/tests/Generators/Simple/FeatureTestGeneratorTest.php +++ b/tests/Generators/Simple/FeatureTestGeneratorTest.php @@ -25,12 +25,6 @@ abstract class BrowserKitTest extends BaseTestCase protected \$baseUrl = 'http://localhost'; - protected function setUp() - { - parent::setUp(); - \Hash::setRounds(5); - } - protected function loginAsUser() { \$user = \$this->createUser(); @@ -259,12 +253,6 @@ abstract class {$baseTestClass} extends BaseTestCase protected \$baseUrl = 'http://localhost'; - protected function setUp() - { - parent::setUp(); - \Hash::setRounds(5); - } - protected function loginAsUser() { \$user = \$this->createUser();