Skip to content

Commit 9cea973

Browse files
committed
testing windows tests
1 parent d228c2d commit 9cea973

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

tests.sqlite

24 KB
Binary file not shown.

tests/TestCase.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ protected function setUp(): void
2525
$this->db = $db = new DB;
2626

2727
// define database
28-
$database = __DIR__ . '/tests.sqlite';
28+
//$database = __DIR__ . '/tests.sqlite';
29+
$database = 'tests.sqlite';
2930

3031
// remove database
3132
file_exists($database) ? unlink($database) : null;
@@ -110,7 +111,7 @@ public function getEnvironmentSetUp($app)
110111
$app['config']->set('database.default', 'sqlite');
111112
$app['config']->set('database.connections.sqlite', [
112113
'driver' => 'sqlite',
113-
'database' => __DIR__ . '/tests.sqlite',
114+
'database' => 'tests.sqlite',
114115
'prefix' => '',
115116
]);
116117
}

0 commit comments

Comments
 (0)