Browse Source

Remove browserkit setup method override

tags/1.3.0^0 1.3.0
Nafies Luthfi 7 years ago
parent
commit
948247c2fb
  1. 6
      src/stubs/testcases/browserkit-base-class.stub
  2. 12
      tests/Generators/FeatureTestGeneratorTest.php
  3. 12
      tests/Generators/Simple/FeatureTestGeneratorTest.php

6
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();

12
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();

12
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();

Loading…
Cancel
Save