don't leave HomeDocument body as string
diff --git a/openstack/cdn/v1/base/requests_test.go b/openstack/cdn/v1/base/requests_test.go
index 4077022..a8d95f9 100644
--- a/openstack/cdn/v1/base/requests_test.go
+++ b/openstack/cdn/v1/base/requests_test.go
@@ -16,21 +16,19 @@
th.CheckNoErr(t, err)
expected := HomeDocument{
- "rel/cdn": `{
+ "rel/cdn": map[string]interface{}{
"href-template": "services{?marker,limit}",
- "href-vars": {
+ "href-vars": map[string]interface{}{
"marker": "param/marker",
- "limit": "param/limit"
+ "limit": "param/limit",
},
- "hints": {
- "allow": [
- "GET"
- ],
- "formats": {
- "application/json": {}
- }
- }
- }`,
+ "hints": map[string]interface{}{
+ "allow": []string{"GET"},
+ "formats": map[string]interface{}{
+ "application/json": map[string]interface{}{},
+ },
+ },
+ },
}
th.CheckDeepEquals(t, expected, *actual)
}