mirror of
https://github.com/getAlby/lndhub.go.git
synced 2025-12-20 22:24:52 +01:00
Actually start the suite
This commit is contained in:
@@ -11,6 +11,7 @@ import (
|
||||
"github.com/getAlby/lndhub.go/lib/service"
|
||||
amqp "github.com/rabbitmq/amqp091-go"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/suite"
|
||||
)
|
||||
|
||||
type RabbitMQTestSuite struct {
|
||||
@@ -96,3 +97,7 @@ func (suite *RabbitMQTestSuite) TestPublishInvoice(t *testing.T) {
|
||||
|
||||
assert.Equal(t, invoice.RHash, recievedInvoice.RHash)
|
||||
}
|
||||
|
||||
func TestRabbitMQTestSuite(t *testing.T) {
|
||||
suite.Run(t, new(RabbitMQTestSuite))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user