File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ protected function createDummyDebugbarJson()
4343 public function testClearDebugbarWorks ()
4444 {
4545 // test clean debugbar dir
46- $ this ->assertFileNotExists (WRITEPATH . 'debugbar ' . DIRECTORY_SEPARATOR . "debugbar_ {$ this ->time }.json " );
46+ $ this ->assertFileDoesNotExist (WRITEPATH . 'debugbar ' . DIRECTORY_SEPARATOR . "debugbar_ {$ this ->time }.json " );
4747
4848 // test dir is now populated with json
4949 $ this ->createDummyDebugbarJson ();
@@ -52,7 +52,7 @@ public function testClearDebugbarWorks()
5252 command ('debugbar:clear ' );
5353 $ result = CITestStreamFilter::$ buffer ;
5454
55- $ this ->assertFileNotExists (WRITEPATH . 'debugbar ' . DIRECTORY_SEPARATOR . "debugbar_ {$ this ->time }.json " );
55+ $ this ->assertFileDoesNotExist (WRITEPATH . 'debugbar ' . DIRECTORY_SEPARATOR . "debugbar_ {$ this ->time }.json " );
5656 $ this ->assertFileExists (WRITEPATH . 'debugbar ' . DIRECTORY_SEPARATOR . '.gitkeep ' );
5757 $ this ->assertStringContainsString ('Debugbar cleared. ' , $ result );
5858 }
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ protected function createDummyLogFiles()
4747 public function testClearLogsWorks ()
4848 {
4949 // test clean logs dir
50- $ this ->assertFileNotExists (WRITEPATH . 'logs ' . DIRECTORY_SEPARATOR . "log- {$ this ->date }.log " );
50+ $ this ->assertFileDoesNotExist (WRITEPATH . 'logs ' . DIRECTORY_SEPARATOR . "log- {$ this ->date }.log " );
5151
5252 // test dir is now populated with logs
5353 $ this ->createDummyLogFiles ();
@@ -56,7 +56,7 @@ public function testClearLogsWorks()
5656 command ('logs:clear -force ' );
5757 $ result = CITestStreamFilter::$ buffer ;
5858
59- $ this ->assertFileNotExists (WRITEPATH . 'logs ' . DIRECTORY_SEPARATOR . "log- {$ this ->date }.log " );
59+ $ this ->assertFileDoesNotExist (WRITEPATH . 'logs ' . DIRECTORY_SEPARATOR . "log- {$ this ->date }.log " );
6060 $ this ->assertFileExists (WRITEPATH . 'logs ' . DIRECTORY_SEPARATOR . 'index.html ' );
6161 $ this ->assertStringContainsString ('Logs cleared. ' , $ result );
6262 }
You can’t perform that action at this time.
0 commit comments