We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8e746b commit 496dc59Copy full SHA for 496dc59
tests/Integration/Console/Components/TaskComponentTest.php
@@ -94,7 +94,7 @@ public function test_failing_task(): void
94
$frames = iterator_to_array($component->render($terminal));
95
96
$this->assertStringContainsString('Task in progress', $frames[0]);
97
- $this->assertStringContainsString('An error occurred.', $frames[1]);
+ $this->assertStringContainsString('An error occurred.', $frames[array_key_last($frames)]);
98
});
99
}
100
0 commit comments