summaryrefslogtreecommitdiff
path: root/src/components/application_manager/test/policy_handler_test.cc
diff options
context:
space:
mode:
authorIryna Lytvynenko <ilytvynenko@luxoft.com>2018-05-24 23:01:04 -0400
committerIryna Lytvynenko <ilytvynenko@luxoft.com>2018-05-24 23:01:04 -0400
commit0637cd4cdc159ef60061094cf67ab9598a45d70b (patch)
tree8f837d6cb9d2d966dfd884a7c2b504845196ce49 /src/components/application_manager/test/policy_handler_test.cc
parent6d20a0e2f032ea21d1268d3b2acc67c4693a6f0f (diff)
downloadsdl_core-0637cd4cdc159ef60061094cf67ab9598a45d70b.tar.gz
Fix code according to review comments
Removed redundant block Added missed expecation in unit test
Diffstat (limited to 'src/components/application_manager/test/policy_handler_test.cc')
-rw-r--r--src/components/application_manager/test/policy_handler_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/application_manager/test/policy_handler_test.cc b/src/components/application_manager/test/policy_handler_test.cc
index 94ed43a465..3cd34bfaaa 100644
--- a/src/components/application_manager/test/policy_handler_test.cc
+++ b/src/components/application_manager/test/policy_handler_test.cc
@@ -1384,7 +1384,7 @@ TEST_F(PolicyHandlerTest, IsRequestTypeAllowed) {
EXPECT_CALL(*mock_policy_manager_, GetAppRequestTypes(kPolicyAppId_))
.WillOnce(Return(std::vector<std::string>({"HTTP"})));
// Act
- policy_handler_.IsRequestTypeAllowed(kPolicyAppId_, type);
+ EXPECT_FALSE(policy_handler_.IsRequestTypeAllowed(kPolicyAppId_, type));
}
TEST_F(PolicyHandlerTest, IsRequestSubTypeAllowed) {