File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed
wrappers/ios/libindy-pod/Indy-demoTests Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments