Skip to content

Commit

Permalink
#1 Replace assertRegExp to assertMatchesRegularExpression
Browse files Browse the repository at this point in the history
Further information: sebastianbergmann/phpunit#4086
  • Loading branch information
pH-7 committed Jan 1, 2022
1 parent 169b83b commit 82ffa85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/Podcast/Feed/GeneratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ public function testOutputFeed(): void

$this->assertIsString($actual);

$this->assertRegexp('/title/', $actual);
$this->assertRegexp('/description/', $actual);
$this->assertMatchesRegularExpression('/title/', $actual);
$this->assertMatchesRegularExpression('/description/', $actual);
}

protected function setUp(): void
Expand Down

0 comments on commit 82ffa85

Please sign in to comment.