Fix tests due recent changes

This commit is contained in:
apanizo 2018-09-06 13:38:39 +02:00
parent ea5985d8bc
commit 2430937ce5
2 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ const providerReducerTests = () => {
expect(providerName).toEqual(undefined)
})
it('should return undefined when Metamask is loaded but not available', () => {
it('should return metamask when Metamask is loaded but not available', () => {
// GIVEN
const reduxStore = { [PROVIDER_REDUCER_ID]: ProviderFactory.metamaskLoaded }
@ -24,7 +24,7 @@ const providerReducerTests = () => {
const providerName = providerNameSelector(reduxStore)
// THEN
expect(providerName).toEqual(undefined)
expect(providerName).toEqual('metamask')
})
it('should return METAMASK when Metamask is loaded and available', () => {

View File

@ -166,7 +166,7 @@ describe('DOM > Feature > SAFE MULTISIG Transactions', () => {
await refreshTransactions(store, address)
transactions = TestUtils.scryRenderedComponentsWithType(SafeDom, Transaction)
statusses = ['Adol Metamask 3 [Confirmed]', 'Adol 1 Eth Account [Confirmed]']
statusses = ['Adol 1 Eth Account [Confirmed]', 'Adol Metamask 3 [Confirmed]']
await checkPendingRemoveOwnerTx(transactions[5], 3, 'Remove Owner Adol Metamask 3', statusses)
await checkThresholdOf(address, 3)
await processTransaction(address, transactions[5].props.transaction, 2, accounts[1], 3)