Skip to content

Commit 1aa8bbd

Browse files
committed
fix test
1 parent eb2525b commit 1aa8bbd

File tree

7 files changed

+5
-41
lines changed

7 files changed

+5
-41
lines changed

.github/workflows/phpstan.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

composer.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,7 @@
1616
"squizlabs/php_codesniffer": "^3.7",
1717
"mockery/mockery": "^1.5.1",
1818
"dg/bypass-finals": "dev-master",
19-
"rector/rector": "^0.15.3",
20-
"nunomaduro/larastan": "^2.4.0",
21-
"phpstan/phpstan-deprecation-rules": "^1.1.1",
22-
"phpstan/phpstan-phpunit": "^1.3.3"
19+
"rector/rector": "^0.15.3"
2320
},
2421
"autoload": {
2522
"psr-4": {

phpstan-baseline.neon

Whitespace-only changes.

phpstan.neon.dist

Lines changed: 0 additions & 10 deletions
This file was deleted.

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="localhost"/>
34+
<env name="RABBITMQ_HOST" value="eagle-rmq"/>
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: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ 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);
3031
$this->assertEquals(1, $this->connection->size($queue));
3132
}
3233

tests/UnitTestCase.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
class UnitTestCase extends BaseTestCase
1212
{
13+
// use Mockery\Adapter\Phpunit\MockeryPHPUnitIntegration;
14+
1315
protected function getPackageProviders($app): array
1416
{
1517
return [

0 commit comments

Comments
 (0)