Fix some tests

This commit is contained in:
Jeff Mitchell 2019-06-17 17:02:34 -04:00
parent 29a287648e
commit 1e1e7c9321
1 changed files with 2 additions and 0 deletions

View File

@ -678,6 +678,7 @@ func TestIdentityStore_GroupsCreateUpdate(t *testing.T) {
expectedData["last_update_time"] = resp.Data["last_update_time"]
expectedData["modify_index"] = resp.Data["modify_index"]
expectedData["alias"] = resp.Data["alias"]
expectedData["namespace_id"] = "root"
if diff := deep.Equal(expectedData, resp.Data); diff != nil {
t.Fatal(diff)
@ -800,6 +801,7 @@ func TestIdentityStore_GroupsCRUD_ByID(t *testing.T) {
expectedData["last_update_time"] = resp.Data["last_update_time"]
expectedData["modify_index"] = resp.Data["modify_index"]
expectedData["alias"] = resp.Data["alias"]
expectedData["namespace_id"] = "root"
if diff := deep.Equal(expectedData, resp.Data); diff != nil {
t.Fatal(diff)