summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/src/rabbit_tests.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/src/rabbit_tests.erl b/test/src/rabbit_tests.erl
index db2e149ec3..4c1489f6aa 100644
--- a/test/src/rabbit_tests.erl
+++ b/test/src/rabbit_tests.erl
@@ -1163,10 +1163,10 @@ test_queue_master_location_policy_validation() ->
OK = fun (JSON) -> ok = Set(JSON) end,
Fail = fun (JSON) -> error = Set(JSON) end,
- OK ("{\"queue-master-location\":\"min-masters\"}"),
- OK ("{\"queue-master-location\":\"client-local\"}"),
- OK ("{\"queue-master-location\":\"random\"}"),
- Fail("{\"queue-master-location\":\"made_up\"}"),
+ OK ("{\"x-queue-master-locator\":\"min-masters\"}"),
+ OK ("{\"x-queue-master-locator\":\"client-local\"}"),
+ OK ("{\"x-queue-master-locator\":\"random\"}"),
+ Fail("{\"x-queue-master-locator\":\"made_up\"}"),
ok = control_action(clear_policy, ["name"]),
passed.