Skip to content

Commit

Permalink
ISAICP-6037: Support higher PHPUinit versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiu-cristea committed Feb 12, 2021
1 parent 5501cb7 commit 61221ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/AbstractTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ abstract class AbstractTest extends TestCase
/**
* @inheritDoc
*/
protected function setUp()
protected function setUp(): void
{
$filesystem = new Filesystem();
$filesystem->chmod($this->getSandboxRoot(), 0777, umask(), true);
Expand Down
4 changes: 2 additions & 2 deletions tests/CommandSimulationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ public function testSimulation($command, array $config, $composer, array $expect

$text = $output->fetch();
foreach ($expected as $row) {
$this->assertContains($row, $text);
$this->assertStringContainsString($row, $text);
}
foreach ($absent as $row) {
$this->assertNotContains($row, $text);
$this->assertStringNotContainsString($row, $text);
}
}

Expand Down

0 comments on commit 61221ca

Please sign in to comment.