Skip to content

Commit

Permalink
Fix test assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
weitzman committed May 27, 2022
1 parent b2c6634 commit eb71b82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/SecurityUpdatesTest.php
Expand Up @@ -51,7 +51,7 @@ public function testInsecurePhpPackage()
{
$this->drush('pm:security-php', [], ['format' => 'json'], self::EXIT_ERROR_WITH_CLARITY);
$this->assertStringContainsString('One or more of your dependencies has an outstanding security update.', $this->getErrorOutput());
$this->assertStringContainsString('Run composer why david-garcia/phpwhois', $this->getErrorOutput());
$this->assertStringContainsString('david-garcia/phpwhois', $this->getErrorOutput());
$security_advisories = $this->getOutputFromJSON();
$this->arrayHasKey('david-garcia/phpwhois', $security_advisories);
}
Expand Down

0 comments on commit eb71b82

Please sign in to comment.