Skip to content

Commit cd65af3

Browse files
authored
Merge pull request #1069 from cakephp/dereuromark-patch-1
Remove extra aliasing
2 parents d33cfb7 + 986763f commit cd65af3

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

tests/bootstrap.php

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818
use Cake\Chronos\Chronos;
1919
use Cake\Core\Configure;
20-
use Cake\Datasource\ConnectionManager;
2120
use Cake\TestSuite\ConnectionHelper;
2221
use Migrations\TestSuite\Migrator;
2322

@@ -35,20 +34,6 @@
3534
Configure::write('App.fullBaseUrl', 'http://localhost');
3635
}
3736

38-
// DebugKit skips settings these connection config if PHP SAPI is CLI / PHPDBG.
39-
// But since PagesControllerTest is run with debug enabled and DebugKit is loaded
40-
// in application, without setting up these config DebugKit errors out.
41-
ConnectionManager::setConfig('test_debug_kit', [
42-
'className' => 'Cake\Database\Connection',
43-
'driver' => 'Cake\Database\Driver\Sqlite',
44-
'database' => TMP . 'debug_kit.sqlite',
45-
'encoding' => 'utf8',
46-
'cacheMetadata' => true,
47-
'quoteIdentifiers' => false,
48-
]);
49-
50-
ConnectionManager::alias('test_debug_kit', 'debug_kit');
51-
5237
// Fixate now to avoid one-second-leap-issues
5338
Chronos::setTestNow(Chronos::now());
5439

0 commit comments

Comments
 (0)