saasitone/pkg/services/container_test.go

20 lines
372 B
Go
Raw Normal View History

2021-12-18 07:07:12 -08:00
package services
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestNewContainer(t *testing.T) {
assert.NotNil(t, c.Web)
assert.NotNil(t, c.Config)
assert.NotNil(t, c.Validator)
assert.NotNil(t, c.Cache)
2024-07-11 21:09:15 -07:00
assert.NotNil(t, c.DB)
assert.NotNil(t, c.Mail)
assert.NotNil(t, c.Auth)
assert.NotNil(t, c.TemplateRenderer)
assert.NotNil(t, c.Tasks)
}