Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Tests/Functional/Command/ExtractCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ public function testExecute(): void
$output = $commandTester->getDisplay();

// Make sure we have 4 new messages
$this->assertRegExp('|New messages +4|s', $output);
$this->assertRegExp('|Total defined messages +8|s', $output);
$this->assertMatchesRegularExpression('|New messages +4|s', $output);
$this->assertMatchesRegularExpression('|Total defined messages +8|s', $output);

$container = $this->getContainer();
$config = $container->get(ConfigurationManager::class)->getConfiguration('app');
Expand Down
4 changes: 2 additions & 2 deletions Tests/Functional/Command/SyncCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ public function testExecute(): void

$this->fail('The command should fail when called with an unknown configuration key.');
} catch (\InvalidArgumentException $e) {
$this->assertRegExp('|Unknown storage "fail"\.|s', $e->getMessage());
$this->assertRegExp('|Available storages are "app"|s', $e->getMessage());
$this->assertMatchesRegularExpression('|Unknown storage "fail"\.|s', $e->getMessage());
$this->assertMatchesRegularExpression('|Available storages are "app"|s', $e->getMessage());
}
}
}