Skip to content

Commit 7fbc7ba

Browse files
authored
Merge pull request #68 from saeideng/patch-1
remove debug_kit :)
2 parents 72f4e05 + 352608c commit 7fbc7ba

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

tests/bootstrap.php

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -86,17 +86,11 @@
8686
]
8787
]);
8888

89-
// Ensure default test connection is defined
90-
if (!getenv('db_dsn')) {
91-
putenv('db_dsn=sqlite:/' . TMP . 'debug_kit_test.sqlite');
92-
}
93-
9489
$config = [
95-
'url' => getenv('db_dsn'),
90+
'url' => 'sqlite:/' . TMP . 'webservice_test.sqlite',
9691
'timezone' => 'UTC',
9792
];
9893

99-
// Use the test connection for 'debug_kit' as well.
10094
ConnectionManager::setConfig('test', $config);
10195
ConnectionManager::setConfig('test_webservice', $config);
10296

@@ -113,7 +107,5 @@
113107
]
114108
]);
115109

116-
Plugin::load('DebugKit', ['path' => ROOT, 'bootstrap' => true]);
117-
118110
DispatcherFactory::add('Routing');
119111
DispatcherFactory::add('ControllerFactory');

0 commit comments

Comments
 (0)