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
26
26
27
27
$ result = $ this ->callCommand (new GenerateCommand ($ this ->getConfiguration ()), $ input );
28
28
29
- $ this ->assertStringContainsString ('Finished regenerating DAOs and beans ' , $ result );
29
+ $ this ->assertContains ('Finished regenerating DAOs and beans ' , $ result );
30
30
}
31
31
32
32
/**
Original file line number Diff line number Diff line change @@ -1688,7 +1688,7 @@ public function testBlob(): void
1688
1688
$ resource = $ loadedFile ->getFile ();
1689
1689
$ result = fseek ($ resource , 0 );
1690
1690
$ this ->assertSame (0 , $ result );
1691
- $ this ->assertIsResource ( $ resource );
1691
+ $ this ->assertInternalType ( ' resource ' , $ resource );
1692
1692
$ firstLine = fgets ($ resource );
1693
1693
$ this ->assertSame ("<?php \n" , $ firstLine );
1694
1694
}
@@ -1702,7 +1702,7 @@ public function testReadBlob(): void
1702
1702
$ loadedFile = $ fileDao ->getById (1 );
1703
1703
1704
1704
$ resource = $ loadedFile ->getFile ();
1705
- $ this ->assertIsResource ( $ resource );
1705
+ $ this ->assertInternalType ( ' resource ' , $ resource );
1706
1706
$ firstLine = fgets ($ resource );
1707
1707
$ this ->assertSame ("<?php \n" , $ firstLine );
1708
1708
You can’t perform that action at this time.
0 commit comments