summaryrefslogtreecommitdiff
path: root/src/components/policy/policy_external/test/policy_manager_impl_ptu_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/policy/policy_external/test/policy_manager_impl_ptu_test.cc')
-rw-r--r--src/components/policy/policy_external/test/policy_manager_impl_ptu_test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/policy/policy_external/test/policy_manager_impl_ptu_test.cc b/src/components/policy/policy_external/test/policy_manager_impl_ptu_test.cc
index 16c5587541..cec844fb85 100644
--- a/src/components/policy/policy_external/test/policy_manager_impl_ptu_test.cc
+++ b/src/components/policy/policy_external/test/policy_manager_impl_ptu_test.cc
@@ -125,7 +125,7 @@ TEST_F(PolicyManagerImplTest2, GetNotificationsNumberAfterPTUpdate) {
TEST_F(PolicyManagerImplTest2, IsAppRevoked_SetRevokedAppID_ExpectAppRevoked) {
// Arrange
- std::ifstream ifile(preloadet_pt_filename_);
+ std::ifstream ifile(kValidSdlPtUpdateJson);
Json::Reader reader;
std::string json;
Json::Value root(Json::objectValue);
@@ -177,7 +177,7 @@ TEST_F(PolicyManagerImplTest2,
EXPECT_EQ(::policy::kRpcAllowed, output.hmi_level_permitted);
ASSERT_TRUE(output.list_of_allowed_params.empty());
// Act
- std::ifstream ifile(preloadet_pt_filename_);
+ std::ifstream ifile(kValidSdlPtUpdateJson);
Json::Reader reader;
std::string json;
Json::Value root(Json::objectValue);
@@ -219,7 +219,7 @@ TEST_F(PolicyManagerImplTest2,
// Add app from consented device. App will be assigned with default policies
manager_->AddApplication(application_id_);
// Emulate PTU with new policies for app added above
- std::ifstream ifile(preloadet_pt_filename_);
+ std::ifstream ifile(kValidSdlPtUpdateJson);
Json::Reader reader;
std::string json;
Json::Value root(Json::objectValue);