Skip to content

Commit

Permalink
Update unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Veronica Veremjova committed May 18, 2017
1 parent dcf7dda commit 5400318
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1414,7 +1414,7 @@ TEST_F(PolicyHandlerTest, OnDeviceConsentChanged_ConsentAllowed) {
EXPECT_CALL(*mock_app_, policy_app_id()).WillOnce(Return(kPolicyAppId_));

EXPECT_CALL(*mock_policy_manager_, IsPredataPolicy(kPolicyAppId_))
.WillOnce(Return(true));
.WillRepeatedly(Return(true));

EXPECT_CALL(*mock_policy_manager_,
ReactOnUserDevConsentForApp(kPolicyAppId_, is_allowed));
Expand Down Expand Up @@ -1442,7 +1442,7 @@ TEST_F(PolicyHandlerTest, OnDeviceConsentChanged_ConsentNotAllowed) {
EXPECT_CALL(*mock_app_, policy_app_id()).WillOnce(Return(kPolicyAppId_));

EXPECT_CALL(*mock_policy_manager_, IsPredataPolicy(kPolicyAppId_))
.WillOnce(Return(true));
.WillRepeatedly(Return(true));

EXPECT_CALL(*mock_policy_manager_, ReactOnUserDevConsentForApp(_, _))
.Times(0);
Expand Down

0 comments on commit 5400318

Please sign in to comment.