Skip to content

Commit 8703cae

Browse files
committed
- Fixed Tests (bump)
1 parent 0ddfd3e commit 8703cae

File tree

1 file changed

+22
-20
lines changed

1 file changed

+22
-20
lines changed

tests/Functional/TestCase.php

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -61,20 +61,21 @@ protected function getEnvironmentSetUp($app): void
6161
'verify_peer' => true,
6262
'passphrase' => null,
6363
],
64+
65+
'queue' => [
66+
'prioritize_delayed' => true,
67+
'queue_max_priority' => 20,
68+
'exchange' => 'application-x',
69+
'exchange_type' => 'topic',
70+
'exchange_routing_key' => 'process.%s',
71+
'reroute_failed' => true,
72+
'failed_exchange' => 'failed-exchange',
73+
'failed_routing_key' => 'application-x.%s.failed',
74+
],
6475
],
6576

6677
'worker' => 'default',
6778

68-
'queue_options' => [
69-
'prioritize_delayed' => true,
70-
'queue_max_priority' => 20,
71-
'exchange' => 'application-x',
72-
'exchange_type' => 'topic',
73-
'exchange_routing_key' => 'process.%s',
74-
'reroute_failed' => true,
75-
'failed_exchange' => 'failed-exchange',
76-
'failed_routing_key' => 'application-x.%s.failed',
77-
],
7879
]);
7980
$app['config']->set('queue.connections.rabbitmq-with-options-empty', [
8081
'driver' => 'rabbitmq',
@@ -99,20 +100,21 @@ protected function getEnvironmentSetUp($app): void
99100
'verify_peer' => true,
100101
'passphrase' => null,
101102
],
103+
104+
'queue' => [
105+
'prioritize_delayed' => '',
106+
'queue_max_priority' => '',
107+
'exchange' => '',
108+
'exchange_type' => '',
109+
'exchange_routing_key' => '',
110+
'reroute_failed' => '',
111+
'failed_exchange' => '',
112+
'failed_routing_key' => '',
113+
],
102114
],
103115

104116
'worker' => 'default',
105117

106-
'queue_options' => [
107-
'prioritize_delayed' => '',
108-
'queue_max_priority' => '',
109-
'exchange' => '',
110-
'exchange_type' => '',
111-
'exchange_routing_key' => '',
112-
'reroute_failed' => '',
113-
'failed_exchange' => '',
114-
'failed_routing_key' => '',
115-
],
116118
]);
117119
}
118120

0 commit comments

Comments
 (0)