Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardonunesp committed Nov 1, 2018
1 parent d28ad26 commit d0f39c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tests/e2e/loom-provider-web3-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ test('LoomProvider + Web3 not matching topic', async t => {
})

const tx = await contract.methods.set(newValue).send()
t.equal(tx.status, true, 'SimpleStore.set should return correct status')
t.equal(tx.status, '0x01', 'SimpleStore.set should return correct status')

const resultOfGet = await contract.methods.get().call()
t.equal(+resultOfGet, newValue, `SimpleStore.get should return correct value`)
Expand Down Expand Up @@ -131,7 +131,7 @@ test('LoomProvider + Web3 multiple topics', async t => {
})

const tx = await contract.methods.set(newValue).send()
t.equal(tx.status, true, 'SimpleStore.set should return correct status')
t.equal(tx.status, '0x01', 'SimpleStore.set should return correct status')

const resultOfGet = await contract.methods.get().call()
t.equal(+resultOfGet, newValue, `SimpleStore.get should return correct value`)
Expand Down

0 comments on commit d0f39c9

Please sign in to comment.