Fix some tests
This commit is contained in:
parent
29a287648e
commit
1e1e7c9321
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue