From ab1de96fcbd53f00c97c73fe1415f640451bbbcb Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Mon, 6 Jun 2022 17:01:31 +0200 Subject: [PATCH] Do not verify rate limit OK as part of test as these might randomly fail --- tests/Composer/Test/Command/DiagnoseCommandTest.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/Composer/Test/Command/DiagnoseCommandTest.php b/tests/Composer/Test/Command/DiagnoseCommandTest.php index e79c9ee49..0f071ef5c 100644 --- a/tests/Composer/Test/Command/DiagnoseCommandTest.php +++ b/tests/Composer/Test/Command/DiagnoseCommandTest.php @@ -32,8 +32,7 @@ class DiagnoseCommandTest extends TestCase $this->assertStringContainsString('Checking git settings: OK Checking http connectivity to packagist: OK Checking https connectivity to packagist: OK -Checking github.com rate limit: OK -Checking disk free space: ', $output); +Checking github.com rate limit: ', $output); } public function testCmdSuccess(): void @@ -51,7 +50,6 @@ Checking disk free space: ', $output); $this->assertStringContainsString('Checking git settings: OK Checking http connectivity to packagist: OK Checking https connectivity to packagist: OK -Checking github.com rate limit: OK -Checking disk free space: ', $output); +Checking github.com rate limit: ', $output); } }