Secure_element: vts: Modify openBasicChannel as per OMAPI standard

CHANNEL_NOT_AVAILABLE should be returned when opening basic channel
is not permitted on the secure element

Test: Test with SIM1 HAL
Bug: 110945797
Change-Id: I2dd4eafaf4c534b49a37690a9baadcc5ac93190c
This commit is contained in:
Ruchi Kandoi
2018-07-02 13:20:34 -07:00
parent a086c5c3a9
commit 44174ecbd0

View File

@@ -173,7 +173,7 @@ TEST_F(SecureElementHidlTest, openBasicChannel) {
se_->closeChannel(0);
return;
}
EXPECT_EQ(SecureElementStatus::UNSUPPORTED_OPERATION, statusReturned);
EXPECT_EQ(SecureElementStatus::CHANNEL_NOT_AVAILABLE, statusReturned);
}
/*