File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change 55
66
77use Illuminate \Contracts \View \Factory as ViewFactory ;
8- use Illuminate \Database \DatabaseManager ;
98use N3XT0R \MigrationGenerator \Service \Generator \Compiler \MigrationCompiler ;
109use N3XT0R \MigrationGenerator \Service \Generator \Compiler \MigrationCompilerInterface ;
1110use N3XT0R \MigrationGenerator \Service \Generator \MigrationGenerator ;
@@ -19,19 +18,6 @@ class MigrationGeneratorTest extends TestCase
1918 public function setUp (): void
2019 {
2120 parent ::setUp ();
22- /**
23- * @var DatabaseManager $dbManager
24- */
25- $ dbManager = $ this ->app ->get ('db ' );
26- $ dbConfig = $ dbManager ->connection ()->getConfig ();
27-
28- $ connectionParams = [
29- 'dbname ' => $ dbConfig ['database ' ],
30- 'user ' => $ dbConfig ['username ' ],
31- 'password ' => $ dbConfig ['password ' ],
32- 'host ' => $ dbConfig ['host ' ],
33- 'driver ' => 'pdo_mysql ' ,
34- ];
3521 $ doctrine = $ this ->getDoctrineConnection ($ this ->getDatabaseManager ());
3622 $ resolver = new DefinitionResolver ($ doctrine , []);
3723 $ compiler = $ this ->app ->make (MigrationCompilerInterface::class);
You can’t perform that action at this time.
0 commit comments