Skip to content

Commit

Permalink
CPC-49: Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jmleroux committed Mar 8, 2023
1 parent 32a8139 commit b79cdf1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/Integration/Api/Workflow/WorkflowRecentRunsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ public function testQuery()
$this->assertInstanceOf(\DateTimeImmutable::class, $workflowRuns[0]->createdAt());
$this->assertInstanceOf(\DateTimeImmutable::class, $workflowRuns[0]->stoppedAt());

$workflowRuns = $query->execute('gh/jmleroux/circleci-php-client', 'unknown_workflow');
$workflowRuns = $this->executeWithRetry(
$query,
['gh/jmleroux/circleci-php-client', 'unknown_workflow']
);

$this->assertIsArray($workflowRuns);
$this->assertEmpty($workflowRuns);
Expand Down

0 comments on commit b79cdf1

Please sign in to comment.