Skip to content

Commit f4e3bab

Browse files
authored
Merge pull request #857 from cakephp/improve-first-run
Improve first run
2 parents 2849750 + 0435e66 commit f4e3bab

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"cakephp/bake": "^2.3",
1616
"cakephp/repl": "^0.1",
1717
"cakephp/cakephp-codesniffer": "^4.5",
18-
"cakephp/debug_kit": "^4.4",
18+
"cakephp/debug_kit": "dev-4.next as 4.5.0",
1919
"josegonzalez/dotenv": "^3.2",
2020
"phpunit/phpunit": "~8.5.0 || ^9.3"
2121
},

config/app_local.example.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
'password' => 'secret',
7171
'database' => 'test_myapp',
7272
//'schema' => 'myapp',
73-
'url' => env('DATABASE_TEST_URL', null),
73+
'url' => env('DATABASE_TEST_URL', 'sqlite://127.0.0.1/tests.sqlite'),
7474
],
7575
],
7676

tests/bootstrap.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,6 @@
6262
// If you are not using CakePHP's migrations you can
6363
// hook into your migration tool of choice here or
6464
// load schema from a SQL dump file with
65-
// \Cake\TestSuite\Schema\SchemaManager::create('tests', './tests/schema.sql');
65+
// use Cake\TestSuite\SchemaLoader;
66+
// (new SchemaManager())->loadSqlFiles('./tests/schema.sql', 'test');
6667
(new Migrator())->run();

0 commit comments

Comments
 (0)