Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Zixuan Liu <[email protected]>
  • Loading branch information
nodece committed Jun 29, 2022
1 parent 72689b7 commit 898df31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pulsar-client-cpp/tests/AuthBasicTest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ TEST(AuthPluginBasic, testNoAuth) {

Producer producer;
Result result = client.createProducer(topicName, producer);
ASSERT_EQ(ResultConnectError, result);
ASSERT_EQ(ResultAuthorizationError, result);
}

TEST(AuthPluginBasic, testNoAuthWithHttp) {
Expand All @@ -103,7 +103,7 @@ TEST(AuthPluginBasic, testNoAuthWithHttp) {

Producer producer;
Result result = client.createProducer(topicName, producer);
ASSERT_EQ(ResultConnectError, result);
ASSERT_EQ(ResultAuthorizationError, result);
}

TEST(AuthPluginBasic, testLoadAuth) {
Expand Down

0 comments on commit 898df31

Please sign in to comment.