Skip to content

Commit d67113e

Browse files
wip
1 parent fa2cfff commit d67113e

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

tests/TestCase.php

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,11 @@
22

33
namespace Maize\GoogleRecaptchaV3\Tests;
44

5-
use Illuminate\Database\Eloquent\Factories\Factory;
65
use Maize\GoogleRecaptchaV3\GoogleRecaptchaV3ServiceProvider;
76
use Orchestra\Testbench\TestCase as Orchestra;
87

98
class TestCase extends Orchestra
109
{
11-
protected function setUp(): void
12-
{
13-
parent::setUp();
14-
15-
Factory::guessFactoryNamesUsing(
16-
fn (string $modelName) => 'Maize\\GoogleRecaptchaV3\\Database\\Factories\\'.class_basename($modelName).'Factory'
17-
);
18-
}
19-
2010
protected function getPackageProviders($app)
2111
{
2212
return [
@@ -27,11 +17,5 @@ protected function getPackageProviders($app)
2717
public function getEnvironmentSetUp($app)
2818
{
2919
config()->set('database.default', 'testing');
30-
31-
/*
32-
foreach (\Illuminate\Support\Facades\File::allFiles(__DIR__ . '/../database/migrations') as $migration) {
33-
(include $migration->getRealPath())->up();
34-
}
35-
*/
3620
}
3721
}

0 commit comments

Comments
 (0)