diff options
Diffstat (limited to 'storage/memory')
-rw-r--r-- | storage/memory/storage_test.go | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/storage/memory/storage_test.go b/storage/memory/storage_test.go index e291609..61a810e 100644 --- a/storage/memory/storage_test.go +++ b/storage/memory/storage_test.go @@ -11,13 +11,14 @@ import ( func Test(t *testing.T) { TestingT(t) } -type StorageSuite struct { } +type StorageSuite struct { + BaseStorageSuite +} var _ = Suite(&StorageSuite{}) -func (s *StorageSuite) TestObjectStorage(c *C) { - storage := NewStorage() - RunObjectStorageSuite(c, storage.ObjectStorage()) +func (s *StorageSuite) SetUpSuite(c *C) { + s.BaseStorageSuite = NewBaseStorageSuite(NewStorage().ObjectStorage()) } func (s *StorageSuite) TestStorageObjectStorage(c *C) { |