Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6670d70

Browse files
committed
fix tests
1 parent 5b6d5c4 commit 6670d70

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

pkg/enqueue-bundle/Tests/Functional/Client/ProducerTest.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ public function testShouldSendMessageInstanceAsCommandWithoutNeedForReply()
9393
'enqueue.processor_name' => RouterProcessor::class,
9494
'enqueue.command_name' => 'theCommand',
9595
'enqueue.processor_queue_name' => 'default',
96+
// compatibility with 0.9x
97+
'enqueue.command' => 'theCommand',
98+
'enqueue.topic' => '__command__',
9699
], $traces[0]['properties']);
97100
}
98101

@@ -116,6 +119,9 @@ public function testShouldSendExclusiveCommandWithNeedForReply()
116119
'enqueue.processor_name' => 'theExclusiveCommandName',
117120
'enqueue.command_name' => 'theExclusiveCommandName',
118121
'enqueue.processor_queue_name' => 'the_exclusive_command_queue',
122+
// compatibility with 0.9x
123+
'enqueue.command' => 'theExclusiveCommandName',
124+
'enqueue.topic' => '__command__',
119125
], $traces[0]['properties']);
120126
}
121127

@@ -139,6 +145,9 @@ public function testShouldSendMessageInstanceCommandWithNeedForReply()
139145
'enqueue.processor_name' => RouterProcessor::class,
140146
'enqueue.command_name' => 'theCommand',
141147
'enqueue.processor_queue_name' => 'default',
148+
// compatibility with 0.9x
149+
'enqueue.command' => 'theCommand',
150+
'enqueue.topic' => '__command__',
142151
], $traces[0]['properties']);
143152
}
144153

0 commit comments

Comments
 (0)