summaryrefslogtreecommitdiff
path: root/tests/plugins
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-08-20 11:52:57 +0300
committerValery Piashchynski <[email protected]>2021-08-20 11:52:57 +0300
commit7c155577ee9f7a4c19bd8aa04d7b44f908f0b5e7 (patch)
tree16b9c534a0b756010e3929fb753f404f26507069 /tests/plugins
parentd2a1168e78428f4327ed4cdfe80991f75b34d4f5 (diff)
Correct AMQP Declare RPC constants
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests/plugins')
-rw-r--r--tests/plugins/jobs/jobs_amqp_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/plugins/jobs/jobs_amqp_test.go b/tests/plugins/jobs/jobs_amqp_test.go
index d3a92253..48d6515d 100644
--- a/tests/plugins/jobs/jobs_amqp_test.go
+++ b/tests/plugins/jobs/jobs_amqp_test.go
@@ -482,9 +482,9 @@ func declareAMQPPipe(t *testing.T) {
pipe := &jobsv1beta.DeclareRequest{Pipeline: map[string]string{
"driver": "amqp",
"name": "test-3",
- "routing-key": "test-3",
+ "routing_key": "test-3",
"queue": "default",
- "exchange-type": "direct",
+ "exchange_type": "direct",
"exchange": "amqp.default",
"prefetch": "100",
"priority": "3",