summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--service/env/service_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/service/env/service_test.go b/service/env/service_test.go
index f25e56c7..e2e2a17b 100644
--- a/service/env/service_test.go
+++ b/service/env/service_test.go
@@ -6,12 +6,12 @@ import (
)
func Test_NewService(t *testing.T) {
- s := NewService("version")
+ s := NewService(map[string]string{"version": "test"})
assert.Len(t, s.values, 1)
}
func Test_Extend(t *testing.T) {
- s := NewService("version")
+ s := NewService(map[string]string{"version": "test"})
s.Init(&Config{Values: map[string]string{"key": "value"}})
assert.Len(t, s.values, 2)