diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2019-08-16 12:32:40 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2019-08-16 12:32:40 +0000 |
commit | b5bdc56915b006770fdac2538e3454e7c17fcd22 (patch) | |
tree | 96d1612de2bf41ff71b4ef79ff723c68c56d9eb9 /documentapi/src/tests/policies/policies_test.cpp | |
parent | 2a32e1e7aabc471a2a37a533dfe473af414890f8 (diff) |
Update routing config instead of expected result.
Diffstat (limited to 'documentapi/src/tests/policies/policies_test.cpp')
-rw-r--r-- | documentapi/src/tests/policies/policies_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/documentapi/src/tests/policies/policies_test.cpp b/documentapi/src/tests/policies/policies_test.cpp index 6437ac470c6..508d0a961f5 100644 --- a/documentapi/src/tests/policies/policies_test.cpp +++ b/documentapi/src/tests/policies/policies_test.cpp @@ -555,13 +555,13 @@ Test::multipleGetRepliesAreMergedToFoundDocument() "route[0].selector \"testdoc\"\n" "route[0].feed \"myfeed\"\n" "route[1].name \"bar\"\n" - "route[1].selector \"other\"\n" + "route[1].selector \"testdoc\"\n" "route[1].feed \"myfeed\"\n]") .addRecipient("foo") .addRecipient("bar")); frame.setMessage(make_unique<GetDocumentMessage>(DocumentId("id:ns:testdoc::yarn"))); std::vector<mbus::RoutingNode*> selected; - EXPECT_TRUE(frame.select(selected, 1)); + EXPECT_TRUE(frame.select(selected, 2)); for (uint32_t i = 0, len = selected.size(); i < len; ++i) { Document::SP doc; if (i == 0) { |