Fix tests
This commit is contained in:
parent
cf497ad38c
commit
87256a56e9
|
|
@ -27,7 +27,7 @@ class BrowserKitTestCase extends TestCase
|
||||||
|
|
||||||
Artisan::call('migrate:refresh');
|
Artisan::call('migrate:refresh');
|
||||||
|
|
||||||
if (file_exists(storage_path('install.lock'))) {
|
if (!file_exists(storage_path('install.lock'))) {
|
||||||
file_put_contents(storage_path('install.lock'), '');
|
file_put_contents(storage_path('install.lock'), '');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ class TestCase extends \Illuminate\Foundation\Testing\TestCase
|
||||||
|
|
||||||
Artisan::call('migrate:refresh');
|
Artisan::call('migrate:refresh');
|
||||||
|
|
||||||
if (file_exists(storage_path('install.lock'))) {
|
if (!file_exists(storage_path('install.lock'))) {
|
||||||
file_put_contents(storage_path('install.lock'), '');
|
file_put_contents(storage_path('install.lock'), '');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user