Remove duplication
diff --git a/rackspace/db/v1/backups/requests_test.go b/rackspace/db/v1/backups/requests_test.go
index 14eacc1..60fe064 100644
--- a/rackspace/db/v1/backups/requests_test.go
+++ b/rackspace/db/v1/backups/requests_test.go
@@ -36,7 +36,11 @@
Size: 100,
Status: "NEW",
Updated: "2014-02-13T21:47:16",
- Datastore: Datastore{Version: "5.1", Type: "MySQL", VersionID: "20000000-0000-0000-0000-000000000002"},
+ Datastore: datastores.Datastore{
+ Version: "5.1",
+ Type: "MySQL",
+ VersionID: "20000000-0000-0000-0000-000000000002",
+ },
}
th.AssertDeepEquals(t, expected, instance)
@@ -67,7 +71,11 @@
Size: 0.141026,
Status: "COMPLETED",
Updated: "2014-06-18T21:24:39",
- Datastore: Datastore{Version: "5.1", Type: "MySQL", VersionID: "20000000-0000-0000-0000-000000000002"},
+ Datastore: datastores.Datastore{
+ Version: "5.1",
+ Type: "MySQL",
+ VersionID: "20000000-0000-0000-0000-000000000002",
+ },
},
}
@@ -101,7 +109,11 @@
Size: 100,
Status: "NEW",
Updated: "2014-02-13T21:47:16",
- Datastore: Datastore{Version: "5.1", Type: "MySQL", VersionID: "20000000-0000-0000-0000-000000000002"},
+ Datastore: datastores.Datastore{
+ Version: "5.1",
+ Type: "MySQL",
+ VersionID: "20000000-0000-0000-0000-000000000002",
+ },
}
th.AssertDeepEquals(t, expected, instance)