Skip to content

Commit 1f0ad2b

Browse files
committed
Rolling back changes not compatible with PHPUnit 7
1 parent 3d79649 commit 1f0ad2b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/Commands/GenerateCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function testCall(): void
2626

2727
$result = $this->callCommand(new GenerateCommand($this->getConfiguration()), $input);
2828

29-
$this->assertStringContainsString('Finished regenerating DAOs and beans', $result);
29+
$this->assertContains('Finished regenerating DAOs and beans', $result);
3030
}
3131

3232
/**

tests/TDBMDaoGeneratorTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1688,7 +1688,7 @@ public function testBlob(): void
16881688
$resource = $loadedFile->getFile();
16891689
$result = fseek($resource, 0);
16901690
$this->assertSame(0, $result);
1691-
$this->assertIsResource($resource);
1691+
$this->assertInternalType('resource', $resource);
16921692
$firstLine = fgets($resource);
16931693
$this->assertSame("<?php\n", $firstLine);
16941694
}
@@ -1702,7 +1702,7 @@ public function testReadBlob(): void
17021702
$loadedFile = $fileDao->getById(1);
17031703

17041704
$resource = $loadedFile->getFile();
1705-
$this->assertIsResource($resource);
1705+
$this->assertInternalType('resource', $resource);
17061706
$firstLine = fgets($resource);
17071707
$this->assertSame("<?php\n", $firstLine);
17081708

0 commit comments

Comments
 (0)