|
|
@@ -58,7 +58,7 @@ func TestStateSaveAndGetJson(t *testing.T) {
|
|
|
defer state.DestroyAPI(api)
|
|
|
|
|
|
key := utils.SimpleUUID()
|
|
|
- value, err := json.Marshal(map[string]interface{}{"value": "aaa"})
|
|
|
+ value, err := json.Marshal(map[string]interface{}{"tree": map[string]interface{}{"value": "aaa"}})
|
|
|
if err != nil {
|
|
|
t.Fatal(err)
|
|
|
}
|