fixed tests

This commit is contained in:
Fabian Vogelsteller 2016-02-29 11:22:57 +01:00
parent f016d3f04e
commit f6b7d89878
3 changed files with 4 additions and 4 deletions

View File

@ -10,7 +10,7 @@ describe('formatters', function () {
assert.deepEqual(formatters.inputPostFormatter({
from: '0x00000',
to: '0x00000',
payload: {test: 'test'},
payload: '0x7b2274657374223a2274657374227d',//{test: 'test'},
ttl: 200,
priority: 1000,
topics: ['hello','mytopics']

View File

@ -17,8 +17,8 @@ describe('formatters', function () {
sent: 1000,
ttl: 1000,
workProved: 1000,
payload: {test: 'test'},
payloadRaw: '0x7b2274657374223a2274657374227d',
payload: '0x7b2274657374223a2274657374227d',//{test: 'test'},
//payloadRaw: '0x7b2274657374223a2274657374227d',
topics: ['hello','mytopics']
});
});

View File

@ -9,7 +9,7 @@ var tests = [{
args: [{
from: '0x123123123',
topics: ['hello_world'],
payload: '12345',
payload: web3.toHex('12345'),
ttl: 100,
workToProve: 101
}],