Skip to content

Commit

Permalink
fix test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
niteshbalusu11 committed Sep 4, 2024
1 parent 5fe1c96 commit 3b277ca
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/lnd_methods/offchain/test_finished_payment.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const makeArgs = overrides => {
timeout: 1,
}],
id: Buffer.alloc(32).toString('hex'),
index: '1',
mtokens: '1000',
paths: [{
fee_mtokens: '1000',
Expand Down Expand Up @@ -107,6 +108,7 @@ const tests = [
timeout: 1,
}],
id: '0000000000000000000000000000000000000000000000000000000000000000',
index: '1',
mtokens: '1000',
paths: [{
fee_mtokens: '1000',
Expand Down
1 change: 1 addition & 0 deletions test/lnd_methods/offchain/test_get_payment.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ const tests = [
created_at: '1970-01-01T00:00:00.000Z',
destination: Buffer.alloc(33).toString('hex'),
id: Buffer.alloc(32).toString('hex'),
index: '1',
mtokens: '2000',
paths: [{
fee: 1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ const tests = [
}
],
id: '0000000000000000000000000000000000000000000000000000000000000000',
index: '1',
mtokens: '2000',
paths: [
{
Expand Down
1 change: 1 addition & 0 deletions test/lnd_methods/offchain/test_subscribe_to_payments.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ const tests = [
timeout: 1,
}],
id: Buffer.alloc(32).toString('hex'),
index: '1',
mtokens: '2000',
paths: [{
fee: 1,
Expand Down
1 change: 1 addition & 0 deletions test/lnd_responses/test_confirmed_from_payment.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ const makeExpected = overrides => {
timeout: 1,
}],
id: Buffer.alloc(32).toString('hex'),
index: '1',
mtokens: '2000',
paths: [{
fee: 1,
Expand Down
1 change: 1 addition & 0 deletions test/lnd_responses/test_pending_from_payment.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ const makeExpected = overrides => {
created_at: '1970-01-01T00:00:00.000Z',
destination: Buffer.alloc(33).toString('hex'),
id: Buffer.alloc(32).toString('hex'),
index: '1',
mtokens: '2000',
paths: [{
fee: 1,
Expand Down

0 comments on commit 3b277ca

Please sign in to comment.