From 58ebd8006bdcd37769b5a3f1946a7041f27a84e3 Mon Sep 17 00:00:00 2001 From: "Eirik S. Morland" Date: Tue, 17 Oct 2023 12:10:09 +0200 Subject: [PATCH] Expect fail on composer 1 in general --- tests/Integration/RequireTest.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/Integration/RequireTest.php b/tests/Integration/RequireTest.php index 800d762..d700706 100644 --- a/tests/Integration/RequireTest.php +++ b/tests/Integration/RequireTest.php @@ -16,6 +16,9 @@ public function testEndToEnd() if (version_compare(phpversion(), "7.3.0", "<")) { $this->expectException(NotUpdatedException::class); } + if ((int) getenv('COMPOSER_VERSION') === 1) { + $this->expectException(NotUpdatedException::class); + } parent::testEndToEnd(); } }