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 ->assertContains ('Finished regenerating DAOs and beans ' , $ result );
29
+ $ this ->assertStringContainsString ('Finished regenerating DAOs and beans ' , $ result );
30
30
}
31
31
32
32
/**
Original file line number Diff line number Diff line change @@ -1725,7 +1725,7 @@ public function testBlob(): void
1725
1725
$ resource = $ loadedFile ->getFile ();
1726
1726
$ result = fseek ($ resource , 0 );
1727
1727
$ this ->assertSame (0 , $ result );
1728
- $ this ->assertInternalType ( ' resource ' , $ resource );
1728
+ $ this ->assertIsResource ( $ resource );
1729
1729
$ firstLine = fgets ($ resource );
1730
1730
$ this ->assertSame ("<?php \n" , $ firstLine );
1731
1731
}
@@ -1739,7 +1739,7 @@ public function testReadBlob(): void
1739
1739
$ loadedFile = $ fileDao ->getById (1 );
1740
1740
1741
1741
$ resource = $ loadedFile ->getFile ();
1742
- $ this ->assertInternalType ( ' resource ' , $ resource );
1742
+ $ this ->assertIsResource ( $ resource );
1743
1743
$ firstLine = fgets ($ resource );
1744
1744
$ this ->assertSame ("<?php \n" , $ firstLine );
1745
1745
You can’t perform that action at this time.
0 commit comments