Skip to content

Commit

Permalink
Ignore tests for releases (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
eiriksm authored Sep 18, 2024
1 parent 6fa10e8 commit e125c0c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/tests export-ignore
2 changes: 1 addition & 1 deletion tests/Integration/PackageToCheckTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ protected function createUpdater($directory)
if (version_compare(phpversion(), "7.3.0", "<")) {
self::expectException(ComposerUpdateProcessFailedException::class);
}
if (version_compare(phpversion(), "8.3.0", ">=")) {
if (version_compare(phpversion(), "8.3.99", ">=")) {
self::expectException(ComposerUpdateProcessFailedException::class);
}
$updater = new Updater($directory, 'drupal/recaptcha');
Expand Down
2 changes: 1 addition & 1 deletion tests/Integration/RequireTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public function testEndToEnd()
if (version_compare(phpversion(), "8.0.0", "<")) {
$this->expectException(NotUpdatedException::class);
}
if (version_compare(phpversion(), "8.3.0", ">=")) {
if (version_compare(phpversion(), "8.3.99", ">=")) {
self::expectException(NotUpdatedException::class);
}
parent::testEndToEnd();
Expand Down

0 comments on commit e125c0c

Please sign in to comment.