File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,6 @@ public function itCanRotateFileMax()
80
80
$ this ->assertFileExists ($ file .'. ' .$ n .'.gz ' );
81
81
}
82
82
83
- $ this ->assertFileDoesNotExist ($ file .basename ($ file ).'.4.gz ' );
83
+ $ this ->assertFileNotExists ($ file .basename ($ file ).'.4.gz ' );
84
84
}
85
85
}
Original file line number Diff line number Diff line change @@ -71,6 +71,6 @@ public function testItCanRotateLogsWithMaxfiles()
71
71
$ this ->assertFileExists (app ()->storagePath ().'/logs/laravel.log.3.gz ' );
72
72
$ this ->assertFileExists (app ()->storagePath ().'/logs/laravel.log.4.gz ' );
73
73
$ this ->assertFileExists (app ()->storagePath ().'/logs/laravel.log.5.gz ' );
74
- $ this ->assertFileDoesNotExist (app ()->storagePath ().'/logs/laravel.log.6.gz ' );
74
+ $ this ->assertFileNotExists (app ()->storagePath ().'/logs/laravel.log.6.gz ' );
75
75
}
76
76
}
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ public function testNoRotateIfFileLogsNotExits()
18
18
Event::assertDispatched (RotateIsNotNecessary::class, 1 );
19
19
20
20
$ this ->assertEquals ($ resultCode , 0 );
21
- $ this ->assertFileDoesNotExist (app ()->storagePath ().'/logs/laravel.log.1.gz ' );
21
+ $ this ->assertFileNotExists (app ()->storagePath ().'/logs/laravel.log.1.gz ' );
22
22
}
23
23
24
24
public function testNoRotateIfFileLogsIsEmpty ()
@@ -30,7 +30,7 @@ public function testNoRotateIfFileLogsIsEmpty()
30
30
Event::assertDispatched (RotateIsNotNecessary::class, 1 );
31
31
32
32
$ this ->assertEquals ($ resultCode , 0 );
33
- $ this ->assertFileDoesNotExist (app ()->storagePath ().'/logs/laravel.log.1.gz ' );
33
+ $ this ->assertFileNotExists (app ()->storagePath ().'/logs/laravel.log.1.gz ' );
34
34
}
35
35
36
36
public function testItCanRotateLogsInArchiveDir ()
@@ -96,7 +96,7 @@ public function testItNotRotateLogsDaily()
96
96
$ this ->assertEquals ($ resultCode , 0 );
97
97
98
98
foreach ($ files as $ file ) {
99
- $ this ->assertFileDoesNotExist ($ file .'.1.gz ' );
99
+ $ this ->assertFileNotExists ($ file .'.1.gz ' );
100
100
}
101
101
}
102
102
You can’t perform that action at this time.
0 commit comments