@@ -32,7 +32,7 @@ protected function seeLogFile(string $path)
32
32
protected function dontSeeLogFile (string $ path )
33
33
{
34
34
$ message = "Failed asserting that log file ` {$ path }` not exists. " ;
35
- $ this -> assertFileNotExists ($ this ->composeLogFilePath ($ path ), $ message );
35
+ self :: assertFileDoesNotExist ($ this ->composeLogFilePath ($ path ), $ message );
36
36
}
37
37
38
38
/**
@@ -51,7 +51,7 @@ protected function seeInLogFile(string $path, $message)
51
51
$ content = File::get ($ this ->composeLogFilePath ($ path ));
52
52
foreach ($ messages as $ item ) {
53
53
$ pattern = $ this ->composeRegexPattern ($ item );
54
- $ this -> assertRegExp ($ pattern , $ content , "Failed asserting that file ` {$ path }` contains ` {$ item }`. " );
54
+ self :: assertMatchesRegularExpression ($ pattern , $ content , "Failed asserting that file ` {$ path }` contains ` {$ item }`. " );
55
55
}
56
56
}
57
57
@@ -71,7 +71,7 @@ protected function dontSeeInLogFile(string $path, $message)
71
71
$ content = File::get ($ this ->composeLogFilePath ($ path ));
72
72
foreach ($ messages as $ item ) {
73
73
$ pattern = $ this ->composeRegexPattern ($ item );
74
- $ this -> assertNotRegExp ($ pattern , $ content , "Failed asserting that file ` {$ path }` not contains ` {$ item }`. " );
74
+ self :: assertDoesNotMatchRegularExpression ($ pattern , $ content , "Failed asserting that file ` {$ path }` not contains ` {$ item }`. " );
75
75
}
76
76
}
77
77
0 commit comments