Merge pull request #539 from James-Sangalli/fix-travis-tests-that-silently-failed

Fix tests to work on simulators with a clean slate
pull/542/head
James Sangalli 6 years ago committed by GitHub
commit dd0548998b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      AlphaWallet/InCoordinator.swift
  2. 4
      AlphaWalletTests/Coordinators/InCoordinatorTests.swift

@ -394,7 +394,6 @@ class InCoordinator: Coordinator {
}
private func fetchXMLAssetDefinitions() {
let keystore = try! EtherKeystore()
let migration = MigrationInitializer(account: keystore.recentlyUsedWallet!, chainID: config.chainID)
migration.perform()
let web3 = self.web3(for: config.server)

@ -8,10 +8,12 @@ class InCoordinatorTests: XCTestCase {
func testShowTabBar() {
let config: Config = .make()
let wallet: Wallet = .make()
let coordinator = InCoordinator(
navigationController: FakeNavigationController(),
wallet: .make(),
keystore: FakeEtherKeystore(),
keystore: FakeKeystore(wallets: [wallet]),
config: config
)

Loading…
Cancel
Save