Skip to content

Commit aae2264

Browse files
committed
Fallback assert file not exists
1 parent 03c8f4c commit aae2264

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/Feature/HttpLogTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class HttpLogTest extends TestCase
1313
{
1414
public function testLog()
1515
{
16-
$this->assertFileDoesNotExist(storage_path('logs/laravel.log'));
16+
$this->assertFalse(file_exists(storage_path('logs/laravel.log')));
1717

1818
$this->post(self::TEST_URI)
1919
->assertJson(['health' => 1]);

tests/Feature/QueryLogTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class QueryLogTest extends TestCase
1414
{
1515
public function testLog()
1616
{
17-
$this->assertFileDoesNotExist(storage_path('logs/laravel.log'));
17+
$this->assertFalse(file_exists(storage_path('logs/laravel.log')));
1818

1919
$this->loadMigrationsFrom(base_path('tests/migrations'));
2020

0 commit comments

Comments
 (0)