43 Commits

Author SHA1 Message Date
Adithya Vardhan
badb700837 chore: allow 0 limits for send/receive amount/volume (#486)
* chore: allow 0 limits for send/receive amount/volume

* fix: use pointers for claims

* fix: tests to set default as -1

* chore: add 0 check in outgoing exceeded tests

* chore: also default max account balance to -1

* chore: remove dbUri :P

* chore: remove print statements

* chore: add more tests for limits
2024-04-05 09:21:08 +02:00
René Aaron
4eb9f0923a fix: exclude erroneous payments (#467)
* fix: exclude errorneous payments

* fix: add invoicesfor in tests

---------

Co-authored-by: im-adithya <imadithyavardhan@gmail.com>
2023-12-12 17:47:55 +01:00
im-adithya
62d7ffb7fe fix: outgoing exceeding tests 2023-12-05 12:29:49 +05:30
im-adithya
f542466811 chore: split volume for send and receive 2023-12-05 12:22:38 +05:30
kiwiidb
c5812503c7 Merge pull request #463 from getAlby/task-out-exceeding-checks
chore(addoutgoinginvoice): add exceeding checks for send
2023-12-01 14:40:07 +01:00
im-adithya
29957edad0 chore(addoutgoinginvoice): add exceeding checks for send 2023-12-01 16:01:56 +05:30
im-adithya
fb8c4784d6 chore(addincominginvoice): add exceeding checks for volume, balance, receive 2023-12-01 00:25:38 +05:30
kiwiidb
0b98753407 add integration test max volume 2023-09-25 14:39:38 +02:00
kiwiidb
ec0493c1b1 fix async payment test 2023-07-05 14:48:01 +02:00
kiwiidb
ef2f2675d4 fix internal payment test 2023-07-05 14:20:59 +02:00
kiwiidb
61132a77b3 no fee entry anymore for internal payments 2023-07-05 14:16:27 +02:00
kiwiidb
def32f2d45 move pubkey checks to lnd client 2023-06-22 16:13:36 +02:00
kiwiidb
4d25e78c69 typo 2023-02-17 16:34:53 +01:00
kiwiidb
03a2014832 add check for invoice absence in tests 2023-02-17 16:28:59 +01:00
kiwiidb
deb3131b6a add integration test 2022-10-04 16:43:29 +02:00
kiwiidb
92341df380 add test for 0 amount internal invoice 2022-09-12 13:44:31 +02:00
kiwiidb
40e34086d7 all tests passing 2022-06-15 18:27:03 +02:00
kiwiidb
c9d7ddd9c7 one more file to refactor 2022-06-15 17:54:15 +02:00
kiwiidb
8952227bee fix another test 2022-06-15 16:40:06 +02:00
kiwiidb
c680f77798 mock: add destination and proper signing 2022-06-15 16:12:04 +02:00
kiwiidb
9574b41a08 working on test refactoring 2022-06-15 11:39:54 +02:00
kiwiidb
c3b7dfae1c add test for internal keysend payment 2022-05-18 13:33:37 +02:00
kiwiidb
e15e55c175 refactor tests 2022-05-02 19:10:39 +02:00
kiwiidb
37b603ed39 add test for gettxs fee field 2022-04-27 11:18:05 +02:00
Stefan Kostic
2332e7a7d8 Add and use expected requests and responses for integration tests 2022-04-05 21:01:06 +02:00
Stefan Kostic
9c81020829 Fix tests 2022-03-04 17:24:38 +01:00
Stefan Kostic
d572b1585f Add fee check to internal payment test 2022-02-25 20:24:06 +01:00
Stefan Kostic
0669546a08 Add amount checks for internal payment test transaction entries 2022-02-25 20:13:00 +01:00
Stefan Kostic
5033a33593 Add fee handling to tests 2022-02-25 19:40:46 +01:00
Stefan Kostic
e489320363 Change transaction entries count in existing tests 2022-02-25 19:21:16 +01:00
Stefan Kostic
6a32645b59 Add missing test 2022-02-18 12:39:24 +01:00
Stefan Kostic
5d0bcfdfa5 Add failing internal payment test 2022-02-17 20:15:32 +01:00
Stefan Kostic
e67d759797 Tear down test and suite properly in tests to fix failures 2022-02-17 20:00:29 +01:00
Stefan Kostic
720a40061e Add and use lnd mock with failing send payment sync 2022-02-17 19:47:08 +01:00
Stefan Kostic
140ee03f7c Move payinvoice to test util method and use it on all places in tests 2022-02-11 11:45:05 +01:00
Stefan Kostic
170d7a028a Add tests for incoming invoices and start with outgoing invoice test 2022-02-11 00:38:04 +01:00
kiwiidb
ec9bd46925 merge master into branch 2022-02-10 14:29:29 +01:00
kiwiidb
aa0896a1ad replace TODO context with Background context for integration tests 2022-02-10 11:57:01 +01:00
kiwiidb
54958e363a split up test init service 2022-02-10 11:54:42 +01:00
kiwiidb
f849c92842 integration test: alice tries to cheat 2022-02-07 13:51:46 +01:00
kiwiidb
fcb2934060 pay external invoices 2022-02-07 12:21:06 +01:00
kiwiidb
8006cec51d internal payments: test working 2022-02-07 12:07:21 +01:00
kiwiidb
6a1803ceb4 tests: add deposit integration test 2022-02-04 15:28:34 +01:00