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