Skip to content

Commit 9cb8cff

Browse files
committed
fix test
1 parent 1aa8bbd commit 9cb8cff

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
</testsuite>
3232
</testsuites>
3333
<php>
34-
<env name="RABBITMQ_HOST" value="eagle-rmq"/>
34+
<env name="RABBITMQ_HOST" value="localhost"/>
3535
<env name="QUEUE_CONNECTION" value="rabbitmq"/>
3636
<env name="RABBITMQ_PORT" value="5672"/>
3737
<env name="PORT_SSL" value="5671"/>

tests/Feature/RabbitMQQueueTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ public function testRabbitMQSize(): void
2727
$this->assertTrue($this->connection->getConnection()->channel()->is_open());
2828

2929
dispatch(new TestJobMock('Farhad Zand'))->onQueue($queue);
30-
sleep(1);
3130
$this->assertEquals(1, $this->connection->size($queue));
3231
}
3332

0 commit comments

Comments
 (0)