Skip to content

Commit

Permalink
Merge pull request #11317 from o0h/update-deprecated-methods-in-test-…
Browse files Browse the repository at this point in the history
…bootstrap

Update deprecated method calls in tests/bootsrap.php
  • Loading branch information
markstory committed Oct 10, 2017
2 parents 4a91868 + 17614d4 commit cd4ca14
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
]
]);

Cache::config([
Cache::setConfig([
'_cake_core_' => [
'engine' => 'File',
'prefix' => 'cake_core_',
Expand All @@ -100,14 +100,14 @@
putenv('db_dsn=sqlite:///:memory:');
}

ConnectionManager::config('test', ['url' => getenv('db_dsn')]);
ConnectionManager::config('test_custom_i18n_datasource', ['url' => getenv('db_dsn')]);
ConnectionManager::setConfig('test', ['url' => getenv('db_dsn')]);
ConnectionManager::setConfig('test_custom_i18n_datasource', ['url' => getenv('db_dsn')]);

Configure::write('Session', [
'defaults' => 'php'
]);

Log::config([
Log::setConfig([
// 'queries' => [
// 'className' => 'Console',
// 'stream' => 'php://stderr',
Expand Down

0 comments on commit cd4ca14

Please sign in to comment.