From 5ae68b11e239b3c04309946d8bfa231fc21d58cb Mon Sep 17 00:00:00 2001 From: Eirik Stanghelle Morland Date: Wed, 18 Sep 2024 19:40:23 +0200 Subject: [PATCH 1/5] Ignore tests for releases --- .gitattributes | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..18e14aa --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +/tests export-ignore From 0c0120059a2628cec7cf49c282bf6bac6cccef0d Mon Sep 17 00:00:00 2001 From: Eirik Stanghelle Morland Date: Wed, 18 Sep 2024 20:58:14 +0200 Subject: [PATCH 2/5] Update PackageToCheckTest.php --- tests/Integration/PackageToCheckTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Integration/PackageToCheckTest.php b/tests/Integration/PackageToCheckTest.php index a161597..cdeeaa0 100644 --- a/tests/Integration/PackageToCheckTest.php +++ b/tests/Integration/PackageToCheckTest.php @@ -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.4.0", ">=")) { self::expectException(ComposerUpdateProcessFailedException::class); } $updater = new Updater($directory, 'drupal/recaptcha'); From f3d64d92f177d7d61e772154e74319080c5a31b9 Mon Sep 17 00:00:00 2001 From: Eirik Stanghelle Morland Date: Wed, 18 Sep 2024 21:00:50 +0200 Subject: [PATCH 3/5] Update RequireTest.php --- tests/Integration/RequireTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Integration/RequireTest.php b/tests/Integration/RequireTest.php index d73360d..990fb35 100644 --- a/tests/Integration/RequireTest.php +++ b/tests/Integration/RequireTest.php @@ -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.4.0", ">=")) { self::expectException(NotUpdatedException::class); } parent::testEndToEnd(); From 4ccd9fc77ec1c5838c2bc6ff12c20d75ad7ccc1a Mon Sep 17 00:00:00 2001 From: Eirik Stanghelle Morland Date: Wed, 18 Sep 2024 21:05:57 +0200 Subject: [PATCH 4/5] Update RequireTest.php --- tests/Integration/RequireTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Integration/RequireTest.php b/tests/Integration/RequireTest.php index 990fb35..d253ce1 100644 --- a/tests/Integration/RequireTest.php +++ b/tests/Integration/RequireTest.php @@ -16,7 +16,7 @@ public function testEndToEnd() if (version_compare(phpversion(), "8.0.0", "<")) { $this->expectException(NotUpdatedException::class); } - if (version_compare(phpversion(), "8.4.0", ">=")) { + if (version_compare(phpversion(), "8.3.99", ">=")) { self::expectException(NotUpdatedException::class); } parent::testEndToEnd(); From 924344e4ecc1a3810ea9babc95f3e2d5fda5c11e Mon Sep 17 00:00:00 2001 From: Eirik Stanghelle Morland Date: Wed, 18 Sep 2024 21:08:02 +0200 Subject: [PATCH 5/5] Update PackageToCheckTest.php --- tests/Integration/PackageToCheckTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Integration/PackageToCheckTest.php b/tests/Integration/PackageToCheckTest.php index cdeeaa0..c042233 100644 --- a/tests/Integration/PackageToCheckTest.php +++ b/tests/Integration/PackageToCheckTest.php @@ -15,7 +15,7 @@ protected function createUpdater($directory) if (version_compare(phpversion(), "7.3.0", "<")) { self::expectException(ComposerUpdateProcessFailedException::class); } - if (version_compare(phpversion(), "8.4.0", ">=")) { + if (version_compare(phpversion(), "8.3.99", ">=")) { self::expectException(ComposerUpdateProcessFailedException::class); } $updater = new Updater($directory, 'drupal/recaptcha');