Skip to content

Commit 225e49d

Browse files
committed
cleanup bootstrap
1 parent 4927576 commit 225e49d

File tree

3 files changed

+0
-22
lines changed

3 files changed

+0
-22
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@ jobs:
1414
matrix:
1515
php-version: ['8.1', '8.2', '8.3', '8.4']
1616
os: [ubuntu-latest, windows-latest]
17-
exclude:
18-
# Exclude PHP 8.4 on Windows as it might not be available yet
19-
- php-version: '8.4'
20-
os: windows-latest
21-
2217
steps:
2318
- uses: actions/checkout@v4
2419

.phpunit.result.cache

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/bootstrap.php

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,7 @@
4040

4141
use Cake\Cache\Cache;
4242
use Cake\Core\Configure;
43-
use Cake\Datasource\ConnectionManager;
4443
use Cake\Error\ErrorTrap;
45-
use Cake\TestSuite\Fixture\SchemaLoader;
4644

4745
Configure::write('App', ['namespace' => 'TestApp']);
4846
Configure::write('debug', true);
@@ -87,20 +85,6 @@ function createDir($path)
8785

8886
Configure::write('App.encoding', 'utf8');
8987

90-
if (!getenv('db_dsn')) {
91-
putenv('db_dsn=sqlite:///:memory:');
92-
}
93-
94-
ConnectionManager::setConfig('test', [
95-
'url' => getenv('db_dsn'),
96-
'timezone' => 'UTC',
97-
]);
98-
99-
ConnectionManager::alias('test', 'default');
100-
101-
$loader = new SchemaLoader();
102-
$loader->loadInternalFile(TESTS . 'schema.php');
103-
10488
$error = [
10589
'errorLevel' => E_ALL,
10690
'skipLog' => [],

0 commit comments

Comments
 (0)