mirror of
https://github.com/getAlby/lndhub.go.git
synced 2025-12-20 14:14:47 +01:00
* 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
28 lines
370 B
Go
28 lines
370 B
Go
package integration_tests
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/suite"
|
|
)
|
|
|
|
type AddInvoiceTestSuite struct {
|
|
suite.Suite
|
|
}
|
|
|
|
func (AddInvoiceTestSuite) SetupSuite() {
|
|
|
|
}
|
|
|
|
func (AddInvoiceTestSuite) TearDownSuite() {
|
|
|
|
}
|
|
|
|
func (AddInvoiceTestSuite) TestAddInvoice() {
|
|
|
|
}
|
|
|
|
func TestAddInvoiceTestSuite(t *testing.T) {
|
|
suite.Run(t, new(AddInvoiceTestSuite))
|
|
}
|