File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ public function testCall(): void
2626
2727 $ result = $ this ->callCommand (new GenerateCommand ($ this ->getConfiguration ()), $ input );
2828
29- $ this ->assertContains ('Finished regenerating DAOs and beans ' , $ result );
29+ $ this ->assertStringContainsString ('Finished regenerating DAOs and beans ' , $ result );
3030 }
3131
3232 /**
Original file line number Diff line number Diff line change @@ -1725,7 +1725,7 @@ public function testBlob(): void
17251725 $ resource = $ loadedFile ->getFile ();
17261726 $ result = fseek ($ resource , 0 );
17271727 $ this ->assertSame (0 , $ result );
1728- $ this ->assertInternalType ( ' resource ' , $ resource );
1728+ $ this ->assertIsResource ( $ resource );
17291729 $ firstLine = fgets ($ resource );
17301730 $ this ->assertSame ("<?php \n" , $ firstLine );
17311731 }
@@ -1739,7 +1739,7 @@ public function testReadBlob(): void
17391739 $ loadedFile = $ fileDao ->getById (1 );
17401740
17411741 $ resource = $ loadedFile ->getFile ();
1742- $ this ->assertInternalType ( ' resource ' , $ resource );
1742+ $ this ->assertIsResource ( $ resource );
17431743 $ firstLine = fgets ($ resource );
17441744 $ this ->assertSame ("<?php \n" , $ firstLine );
17451745
You can’t perform that action at this time.
0 commit comments