diff options
author | Iryna Lytvynenko <ilytvynenko@luxoft.com> | 2018-05-24 23:01:04 -0400 |
---|---|---|
committer | Iryna Lytvynenko <ilytvynenko@luxoft.com> | 2018-05-24 23:01:04 -0400 |
commit | 0637cd4cdc159ef60061094cf67ab9598a45d70b (patch) | |
tree | 8f837d6cb9d2d966dfd884a7c2b504845196ce49 /src/components/application_manager/test/policy_handler_test.cc | |
parent | 6d20a0e2f032ea21d1268d3b2acc67c4693a6f0f (diff) | |
download | sdl_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.cc | 2 |
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) { |