Skip to content

Commit 2c710c8

Browse files
committed
fixed tests
1 parent a64588e commit 2c710c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Transport/AmqpExt/AmqpExtIntegrationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ private function assertApproximateDuration($startTime, int $expectedDuration)
226226
{
227227
$actualDuration = microtime(true) - $startTime;
228228

229-
if (\method_exists([$this, 'assertEqualsWithDelta'])) {
229+
if (method_exists($this, 'assertEqualsWithDelta')) {
230230
$this->assertEqualsWithDelta($expectedDuration, $actualDuration, .5, 'Duration was not within expected range');
231231
} else {
232232
$this->assertEquals($expectedDuration, $actualDuration, 'Duration was not within expected range', .5);

0 commit comments

Comments
 (0)