Adjust UT case T520_add_application_two_tizen_versions_to_same_package 31/121731/3
authorRadoslaw Bartosiak <r.bartosiak@samsung.com>
Tue, 28 Mar 2017 14:12:16 +0000 (16:12 +0200)
committerDariusz Michaluk <d.michaluk@samsung.com>
Thu, 27 Apr 2017 09:54:30 +0000 (09:54 +0000)
Adapt to a new change in security-manager that allows platform version
for an app to be changed during app upgrade, which was
introduced in commit: 942b8ffe8ddc07e4037abac2f69f3460ade8585d.

Change-Id: Ice783a7f5fa5e32df8fdcc3fcbabbab7717fc777
Signed-off-by: Radoslaw Bartosiak <r.bartosiak@samsung.com>
test/test_privilege_db_add_app.cpp

index 2684bae..0de7d0e 100644 (file)
@@ -110,7 +110,7 @@ BOOST_AUTO_TEST_CASE(T510_add_application_to_different_packages)
 BOOST_AUTO_TEST_CASE(T520_add_application_two_tizen_versions_to_same_package)
 {
     addAppSuccess(app(1), pkg(1), uid(1), tizenVer(1), author(1), Hybrid);
-    addAppFail(app(1), pkg(1), uid(1), tizenVer(2), author(1), Hybrid);
+    addAppSuccess(app(1), pkg(1), uid(1), tizenVer(2), author(1), Hybrid);
 }
 
 BOOST_AUTO_TEST_CASE(T530_add_application_two_tizen_versions_to_two_packages)