Skip to content

Commit

Permalink
WINDOWS...
Browse files Browse the repository at this point in the history
  • Loading branch information
danepowell committed Nov 19, 2024
1 parent c464c7d commit 15f20c3
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions tests/phpunit/src/Commands/Api/ApiCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,14 @@ public function testTaskWait(): void
'environmentId' => $environmentId,
]);
$output = $this->getDisplay();
// PhpStorm will trim trailing space in a HEREDOC.
$expected = "\n [OK] The task with notification uuid 1bd3487e-71d1-4fca-a2d9-5f969b3d35c1 completed " . <<<EOD
$this->assertStringContainsString('[OK] The task with notification uuid 1bd3487e-71d1-4fca-a2d9-5f969b3d35c1 completed', $output);
$expected = <<<EOD
Progress: 100
Completed: Mon Jul 29 20:47:13 UTC 2019
Task type: Application added to recents list
Duration: 0 seconds
EOD;
$this->assertStringEqualsStringIgnoringLineEndings($expected, $output);
$this->assertStringContainsStringIgnoringLineEndings($expected, $output);
$this->assertEquals(0, $this->getStatusCode());
}

Expand Down

0 comments on commit 15f20c3

Please sign in to comment.