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 6e344b9 commit f19d699Copy full SHA for f19d699
tests/Base.php
@@ -204,20 +204,7 @@ public function testHTTPSuccess(): void
204
205
echo \implode("\n", $output);
206
207
- $this->assertEquals([], \array_diff(
208
- $this->normalizeConsoleLines($output),
209
- $this->normalizeConsoleLines($this->expectedOutput)
210
- ));
211
- }
212
-
213
- private function normalizeConsoleLines($lines)
214
- {
215
- return \array_map(function (string $line) {
216
- if (\str_starts_with($line, '{')) {
217
- return \json_decode($line);
218
219
- return $line;
220
- }, $lines);
+ $this->assertEquals([], \array_diff($this->expectedOutput, $output));
221
}
222
223
private function rmdirRecursive($dir): void
0 commit comments