Skip to content

Commit 824d180

Browse files
Assert the right values
Co-authored-by: Martin André <martin.andre@gmail.com>
1 parent b2d7e50 commit 824d180

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

acceptance/openstack/identity/v3/federation_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,6 @@ func TestMappingsCRUD(t *testing.T) {
107107

108108
updatedMapping, err := federation.UpdateMapping(client, mappingName, updateOpts).Extract()
109109
th.AssertNoErr(t, err)
110-
th.AssertEquals(t, len(createOpts.Rules), len(mapping.Rules))
110+
th.AssertEquals(t, len(updateOpts.Rules), len(updatedMapping.Rules))
111111
th.CheckDeepEquals(t, updateOpts.Rules[0], updatedMapping.Rules[0])
112112
}

0 commit comments

Comments
 (0)