@@ -95,7 +95,7 @@ public function openFile($filename)
9595 public function deleteFile ($ filename )
9696 {
9797 if (!file_exists ($ this ->absolutizePath ($ filename ))) {
98- \PHPUnit \Framework \Assert ::fail ('file not found ' );
98+ \Codeception \ PHPUnit \TestCase ::fail ('file not found ' );
9999 }
100100 unlink ($ this ->absolutizePath ($ filename ));
101101 }
@@ -204,7 +204,7 @@ public function seeThisFileMatches($regex)
204204 public function seeFileContentsEqual ($ text )
205205 {
206206 $ file = str_replace ("\r" , '' , $ this ->file );
207- \PHPUnit \Framework \Assert ::assertEquals ($ text , $ file );
207+ \Codeception \ PHPUnit \TestCase ::assertEquals ($ text , $ file );
208208 }
209209
210210 /**
@@ -249,7 +249,7 @@ public function seeFileFound($filename, $path = '')
249249 {
250250 if ($ path === '' && file_exists ($ filename )) {
251251 $ this ->openFile ($ filename );
252- \PHPUnit \Framework \Assert ::assertFileExists ($ filename );
252+ \Codeception \ PHPUnit \TestCase ::assertFileExists ($ filename );
253253 return ;
254254 }
255255
@@ -260,7 +260,7 @@ public function seeFileFound($filename, $path = '')
260260 }
261261
262262 $ this ->openFile ($ found );
263- \PHPUnit \Framework \Assert ::assertFileExists ($ found );
263+ \Codeception \ PHPUnit \TestCase ::assertFileExists ($ found );
264264 }
265265
266266 /**
@@ -272,19 +272,19 @@ public function seeFileFound($filename, $path = '')
272272 public function dontSeeFileFound ($ filename , $ path = '' )
273273 {
274274 if ($ path === '' ) {
275- \PHPUnit \Framework \Assert ::assertFileNotExists ($ filename );
275+ \Codeception \ PHPUnit \TestCase ::assertFileNotExists ($ filename );
276276 return ;
277277 }
278278
279279 $ found = $ this ->findFileInPath ($ filename , $ path );
280280
281281 if ($ found === false ) {
282282 //this line keeps a count of assertions correct
283- \PHPUnit \Framework \Assert ::assertTrue (true );
283+ \Codeception \ PHPUnit \TestCase ::assertTrue (true );
284284 return ;
285285 }
286286
287- \PHPUnit \Framework \Assert ::assertFileNotExists ($ found );
287+ \Codeception \ PHPUnit \TestCase ::assertFileNotExists ($ found );
288288 }
289289
290290 /**
0 commit comments