summaryrefslogtreecommitdiff
path: root/service/container_test.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2019-05-05 12:06:04 +0300
committerWolfy-J <[email protected]>2019-05-05 12:06:04 +0300
commitee12d7b834b501beed56945a54fdabe8bbdd4570 (patch)
treeb4eb26e5fba83124f7eab3979bd4e13e7d4a190e /service/container_test.go
parentdb838d7465cc6b147c5d7f672d71c6523df54209 (diff)
init service
Diffstat (limited to 'service/container_test.go')
-rw-r--r--service/container_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/service/container_test.go b/service/container_test.go
index 99cb75a3..8fcaede2 100644
--- a/service/container_test.go
+++ b/service/container_test.go
@@ -139,7 +139,7 @@ func TestContainer_Get(t *testing.T) {
s, st := c.Get("test")
assert.IsType(t, &testService{}, s)
- assert.Equal(t, StatusRegistered, st)
+ assert.Equal(t, StatusInactive, st)
s, st = c.Get("another")
assert.Nil(t, s)
@@ -227,7 +227,7 @@ func TestContainer_ConfigureNull(t *testing.T) {
s, st := c.Get("test")
assert.IsType(t, &testService{}, s)
- assert.Equal(t, StatusRegistered, st)
+ assert.Equal(t, StatusInactive, st)
}
func TestContainer_ConfigureDisabled(t *testing.T) {
@@ -245,7 +245,7 @@ func TestContainer_ConfigureDisabled(t *testing.T) {
s, st := c.Get("test")
assert.IsType(t, &testService{}, s)
- assert.Equal(t, StatusRegistered, st)
+ assert.Equal(t, StatusInactive, st)
}
func TestContainer_ConfigureError(t *testing.T) {
@@ -268,7 +268,7 @@ func TestContainer_ConfigureError(t *testing.T) {
s, st := c.Get("test")
assert.IsType(t, &testService{}, s)
- assert.Equal(t, StatusRegistered, st)
+ assert.Equal(t, StatusInactive, st)
}
func TestContainer_ConfigureTwice(t *testing.T) {