Identity v3 Projects Update (#167)
diff --git a/openstack/identity/v3/projects/testing/requests_test.go b/openstack/identity/v3/projects/testing/requests_test.go
index 2b2e27c..5782480 100644
--- a/openstack/identity/v3/projects/testing/requests_test.go
+++ b/openstack/identity/v3/projects/testing/requests_test.go
@@ -62,3 +62,18 @@
res := projects.Delete(client.ServiceClient(), "1234")
th.AssertNoErr(t, res.Err)
}
+
+func TestUpdateProject(t *testing.T) {
+ th.SetupHTTP()
+ defer th.TeardownHTTP()
+ HandleUpdateProjectSuccessfully(t)
+
+ updateOpts := projects.UpdateOpts{
+ Name: "Bright Red Team",
+ Description: "The team that is bright red",
+ }
+
+ actual, err := projects.Update(client.ServiceClient(), "1234", updateOpts).Extract()
+ th.AssertNoErr(t, err)
+ th.CheckDeepEquals(t, UpdatedRedTeam, *actual)
+}