diff options
Diffstat (limited to 'service/container_test.go')
-rw-r--r-- | service/container_test.go | 8 |
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) { |