change disable_pkg test 09/101309/1 accepted/tizen/3.0/common/20161203.012157 accepted/tizen/3.0/ivi/20161201.075341 accepted/tizen/3.0/mobile/20161201.075141 accepted/tizen/3.0/tv/20161201.075226 accepted/tizen/3.0/wearable/20161201.075305 submit/tizen_3.0/20161201.024602
authorjongmyeongko <jongmyeong.ko@samsung.com>
Wed, 30 Nov 2016 16:53:01 +0000 (01:53 +0900)
committerjongmyeongko <jongmyeong.ko@samsung.com>
Wed, 30 Nov 2016 16:53:01 +0000 (01:53 +0900)
Change-Id: Ie821fea7e3697e1f0381b1d76778f7b31fe29c40
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
src/unit_tests/smoke_test.cc

index 4dab080..c696ad8 100644 (file)
@@ -538,9 +538,7 @@ TEST_F(SmokeTest, DisablePkg) {
             ci::AppInstaller::Result::OK);
   ASSERT_EQ(DisablePackage(pkgid, PackageType::WGT),
             ci::AppInstaller::Result::OK);
-  ASSERT_FALSE(ci::QueryIsPackageInstalled(pkgid,
-      ci::GetRequestMode(kTestUserId),
-      kTestUserId));
+  ASSERT_TRUE(ci::QueryIsDisabledPackage(pkgid, kTestUserId));
   ValidatePackageFS(pkgid, {appid});
 }