Bug 1083745 - Part 4: Need to do corresponding changes in test_icc_card_lock.js. r=hsinyi

This commit is contained in:
Edgar Chen 2014-11-04 10:37:58 +08:00
parent 0f9dc8b02e
commit 7bb2e4bfcf

View File

@ -55,9 +55,6 @@ taskHelper.push(function testPinChangeSuccess() {
};
request.onsuccess = function onsuccess() {
is(request.result.lockType, "pin");
is(request.result.success, true);
taskHelper.runNext();
};
});
@ -70,8 +67,6 @@ taskHelper.push(function testPinCardLockRetryCount() {
'request instanceof ' + request.constructor);
request.onsuccess = function onsuccess() {
is(request.result.lockType, 'pin',
'lockType is ' + request.result.lockType);
ok(request.result.retryCount >= 0,
'retryCount is ' + request.result.retryCount);
taskHelper.runNext();
@ -94,8 +89,6 @@ taskHelper.push(function testPukCardLockRetryCount() {
'request instanceof ' + request.constructor);
request.onsuccess = function onsuccess() {
is(request.result.lockType, 'puk',
'lockType is ' + request.result.lockType);
ok(request.result.retryCount >= 0,
'retryCount is ' + request.result.retryCount);
taskHelper.runNext();