Skip to content

Commit

Permalink
Add back semver_example test on highest.
Browse files Browse the repository at this point in the history
  • Loading branch information
weitzman committed Jan 18, 2022
1 parent a1b4bb1 commit bceaf4f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 17 deletions.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -58,7 +58,7 @@
"cweagans/composer-patches": "~1.0",
"david-garcia/phpwhois": "4.3.0",
"drupal/core-recommended": "^9 || ^10",
"drupal/semver_example": "2.2.0",
"drupal/semver_example": "dev-2.x",
"phpunit/phpunit": ">=7.5.20",
"rector/rector": "^0.12",
"squizlabs/php_codesniffer": "^3.6",
Expand Down
25 changes: 12 additions & 13 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions tests/integration/SecurityUpdatesTest.php
Expand Up @@ -16,9 +16,6 @@ class SecurityUpdatesTest extends UnishIntegrationTestCase
*/
public function testInsecureDrupalPackage()
{
if (Semver::satisfies(\Drupal::VERSION, '^10')) {
$this->markTestSkipped('drupal/semver_example not yet compatible.');
}
list($expected_package, $expected_version) = ['drupal/semver_example', '2.2.0'];
$this->drush('pm:security', [], ['format' => 'json'], self::EXIT_ERROR_WITH_CLARITY);
$this->assertStringContainsString('One or more of your dependencies has an outstanding security update.', $this->getErrorOutput());
Expand Down

0 comments on commit bceaf4f

Please sign in to comment.