Commit Graph

64 Commits

Author SHA1 Message Date
kiwiidb
96af86dcc3 Merge pull request #134 from getAlby/unauthorized-invoice-endpoint
Unauthorized invoice endpoint
2022-03-22 07:51:08 +01:00
Stefan Kostic
7060fca760 Extract test err response util fn 2022-03-21 23:25:03 +01:00
Stefan Kostic
805e0970a5 Add tests for new endpoint 2022-03-21 23:20:54 +01:00
kiwiidb
e5e03659d6 update tests with custom record 2022-03-18 14:10:37 +01:00
Stefan Kostic
a5dfed3daf Fix keysend tests 2022-03-08 17:17:02 +01:00
kiwiidb
a3c6f294e0 fix merge conflict 2022-03-08 14:57:46 +01:00
Stefan Kostic
c6b4c3028c Remove todo and cleanup 2022-03-08 01:15:37 +01:00
Stefan Kostic
ba7c045729 Add keysend tests 2022-03-08 01:11:02 +01:00
Stefan Kostic
f13e8888bc Add test for negative balance 2022-03-04 18:32:35 +01:00
Stefan Kostic
90e90dc79c Merge branch 'main' into fee-handling 2022-03-04 17:46:36 +01:00
Stefan Kostic
831895a8e0 Remove integration tests util todo and fix comment 2022-03-04 17:28:04 +01:00
Stefan Kostic
9c81020829 Fix tests 2022-03-04 17:24:38 +01:00
kiwiidb
7c938477a6 make keysend work on regtest 2022-03-04 15:15:43 +01:00
kiwiidb
3d8ecd425f keysend: low-level work and instructions 2022-03-04 11:08:27 +01:00
Stefan Kostic
8b0a721c75 Add auth tests for failing scenarios 2022-03-01 22:55:23 +01:00
kiwiidb
c63aa0c7d2 add lnd3 credentials 2022-03-01 13:05:39 +01:00
kiwiidb
735cd6a839 fee handling should come from payment response 2022-03-01 10:06:29 +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
31cf4fbd13 Add transaction entries checks in outgoing payment test 2022-02-25 20:08:16 +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
98b9fc1fe7 Add login by refresh token test 2022-02-24 22:54:35 +01:00
Stefan Kostic
4d0300a330 Set different expiry for access and refresh tokens 2022-02-24 20:46:05 +01:00
Stefan Kostic
0671e38697 Add get info tests 2022-02-18 14:30:57 +01:00
Stefan Kostic
b70578eaf9 Add check payment tests 2022-02-18 14:30:51 +01:00
Stefan Kostic
f5b58e6659 Add comment to explain async mock wrapper 2022-02-18 14:07:15 +01:00
Stefan Kostic
6a32645b59 Add missing test 2022-02-18 12:39:24 +01:00
Stefan Kostic
130760bbb1 Add error message field to invoice 2022-02-17 20:29:45 +01:00
Stefan Kostic
09aee50ec0 Cleanup 2022-02-17 20:17:29 +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
63a3ea09b3 Add simple failure test 2022-02-17 18:32:30 +01:00
Stefan Kostic
17e42f42ea Add tear down test to create tests 2022-02-17 16:05:09 +01:00
kiwiidb
74da8f8088 new pr scope: don't bother with callbacks 2022-02-17 11:31:39 +01:00
kiwiidb
5c2d88d2f7 add desired integration test behaviour 2022-02-16 12:33:57 +01:00
kiwiidb
20610aef06 remove btcec dependency 2022-02-15 17:24:57 +01:00
kiwiidb
146e448cb8 update create user call to use new func sig 2022-02-15 16:52:39 +01:00
kiwiidb
9029d95353 Merge pull request #100 from getAlby/custom-usernames
Custom usernames and password when creating new users
2022-02-15 16:47:20 +01:00
kiwiidb
a44d9052e7 use the right struct to create user 2022-02-15 16:46:32 +01:00
kiwiidb
f7be8c3663 export responses in controller package 2022-02-15 16:33:47 +01:00
Stefan Kostic
4985adf0da Use util addInvoice method in test incoming payment 2022-02-11 14:08:20 +01:00
Stefan Kostic
d808232001 Cancel invoice subscription on test suite teardown 2022-02-11 14:02:41 +01:00
Stefan Kostic
fd0d3bfe91 Revert db uril in tests 2022-02-11 12:15:57 +01:00
Stefan Kostic
53ec45b482 Add simple tear down test method 2022-02-11 12:09:30 +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
e36e64ec34 Fix outgoing invoice test 2022-02-11 11:32:55 +01:00
Stefan Kostic
170d7a028a Add tests for incoming invoices and start with outgoing invoice test 2022-02-11 00:38:04 +01:00
Stefan Kostic
afdbf563df Move createAddInvoiceReq to utils 2022-02-11 00:21:53 +01:00