Skip to content

Commit 3e9f600

Browse files
committed
Fixed iOW wrapper tests
Signed-off-by: artem.ivanov <[email protected]>
1 parent df48598 commit 3e9f600

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

wrappers/ios/libindy-pod/Indy-demoTests/Case Tests/Wallet/WalletHighCases.m

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -239,14 +239,13 @@ - (void)testCloseWalletWorksForPlugged {
239239
[[IndyWallet sharedInstance] cleanupIndyKeychainWallet];
240240

241241
// 1. register wallet type
242-
NSError *ret = [[WalletUtils sharedInstance] registerWalletType:[TestUtils keychainType]];
243-
XCTAssertEqual(ret.code, Success, @"WalletUtils:registerWalletType failed");
242+
[[WalletUtils sharedInstance] registerWalletType:[TestUtils keychainType]];
244243

245244
// 2. create wallet
246-
ret = [[WalletUtils sharedInstance] createWalletWithPoolName:[TestUtils pool]
247-
walletName:[TestUtils wallet]
248-
xtype:[TestUtils keychainType]
249-
config:nil];
245+
NSError *ret = [[WalletUtils sharedInstance] createWalletWithPoolName:[TestUtils pool]
246+
walletName:[TestUtils wallet]
247+
xtype:[TestUtils keychainType]
248+
config:nil];
250249
XCTAssertEqual(ret.code, Success, @"WalletUtils:createWalletWithPoolName failed");
251250

252251
// 3. open wallet

wrappers/ios/libindy-pod/Indy-demoTests/Demo Tests/LedgerDemo.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ - (void)testLedgerDemoForKeychainWallet {
243243
XCTAssertTrue([data[@"dest"] isEqualToString:myDid], @"wrong dest!");
244244

245245
[[IndyWallet sharedInstance] cleanupIndyKeychainWallet];
246-
[TestUtils cleanupStorage];
246+
[[PoolUtils sharedInstance] closeHandle:poolHandle];
247247
}
248248

249249
@end

0 commit comments

Comments
 (0)