Commit Graph

7 Commits

Author SHA1 Message Date
Stefan Kostic
8b0a721c75 Add auth tests for failing scenarios 2022-03-01 22:55:23 +01:00
Stefan Kostic
98b9fc1fe7 Add login by refresh token test 2022-02-24 22:54:35 +01:00
Stefan Kostic
720a40061e Add and use lnd mock with failing send payment sync 2022-02-17 19:47:08 +01:00
kiwiidb
54958e363a split up test init service 2022-02-10 11:54:42 +01:00
kiwiidb
a83ae07dac refactoring: allow to create users and tokens while setting up service 2022-02-07 11:27:11 +01:00
kiwiidb
1ae5df6b8c Feature: integration testing
Add integration tests with testify/suite. Moved some structs
outside of controller funcs so we can re-use them in the testing
package. Add CI workflow for running tests on every push.
2022-02-01 11:47:11 +01:00
Roman Useinov
628071160c Cleanup (#25)
* remove cmd folder as we are going to have only one entrypoint

* get rid of pkg directory

* rename test -> integration_tests as unit tests should reside next to the actual files they are testing

* database migration WIP

* reinstate gorm boilerplate in the addinvoice for now to make it compile

* introduce migrations

* add Makefile

* don't use unsigned types for database mappings

* migrations work now

* add build target

* use echo groups

* gorm removed

* add envconfig

* fix comments
2022-01-16 00:49:19 +01:00