aboutsummaryrefslogtreecommitdiffstats
path: root/storage/memory/storage_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'storage/memory/storage_test.go')
-rw-r--r--storage/memory/storage_test.go31
1 files changed, 1 insertions, 30 deletions
diff --git a/storage/memory/storage_test.go b/storage/memory/storage_test.go
index e1d5a33..ee8fa93 100644
--- a/storage/memory/storage_test.go
+++ b/storage/memory/storage_test.go
@@ -16,34 +16,5 @@ type StorageSuite struct {
var _ = Suite(&StorageSuite{})
func (s *StorageSuite) SetUpTest(c *C) {
- storage := NewStorage()
- s.BaseStorageSuite = test.NewBaseStorageSuite(
- storage.ObjectStorage(),
- storage.ReferenceStorage(),
- storage.ConfigStorage(),
- )
-}
-
-func (s *StorageSuite) TestStorageObjectStorage(c *C) {
- storage := NewStorage()
- o := storage.ObjectStorage()
- e := storage.ObjectStorage()
-
- c.Assert(o == e, Equals, true)
-}
-
-func (s *StorageSuite) TestStorageReferenceStorage(c *C) {
- storage := NewStorage()
- o := storage.ReferenceStorage()
- e := storage.ReferenceStorage()
-
- c.Assert(o == e, Equals, true)
-}
-
-func (s *StorageSuite) TestStorageConfigStorage(c *C) {
- storage := NewStorage()
- o := storage.ConfigStorage()
- e := storage.ConfigStorage()
-
- c.Assert(o == e, Equals, true)
+ s.BaseStorageSuite = test.NewBaseStorageSuite(NewStorage())
}