Skip to content

Commit da36ee2

Browse files
committed
Remove unnecessary test config
1 parent d57a6c9 commit da36ee2

File tree

1 file changed

+1
-23
lines changed

1 file changed

+1
-23
lines changed

tests/TestCase.php

+1-23
Original file line numberDiff line numberDiff line change
@@ -9,34 +9,12 @@
99
class TestCase extends TestBenchTestCase
1010
{
1111
/**
12-
* Sets the env data to interact as env file values
13-
*
14-
* @param [type] $app
15-
* @return void
12+
* Load the package service provider.
1613
*/
17-
protected function getEnvironmentSetUp($app)
18-
{
19-
$app['config']->set('database.default', 'testing');
20-
21-
$app['config']->set('database.connection.testing', [
22-
'driver' => 'sqlite',
23-
'database' => ':memory:'
24-
]);
25-
}
26-
27-
// set providers to test the class
2814
protected function getPackageProviders($app): array
2915
{
3016
return [
3117
Provider::class,
3218
];
3319
}
34-
35-
// With this method I can use the facade instead of all class namespace
36-
protected function getPackageAliases($app): array
37-
{
38-
return [
39-
'FirstPackage' => Facade::class
40-
];
41-
}
4220
}

0 commit comments

Comments
 (0)