aboutsummaryrefslogtreecommitdiffstats
path: root/storage/filesystem/storage_test.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2016-11-07 20:29:58 +0100
committerGitHub <noreply@github.com>2016-11-07 20:29:58 +0100
commit0ff9ef2b44c53e557c78bde0fd9c29847e5f0e23 (patch)
treeb9c7485fe99e6e89fa736ceb0223aeb2ecddb77c /storage/filesystem/storage_test.go
parentf6ed7424cbf33c7013332d7e95b4262a4bc4a523 (diff)
downloadgo-git-0ff9ef2b44c53e557c78bde0fd9c29847e5f0e23.tar.gz
global storage interface refactor (#112)
* core: ObjectStorage, ReferenceStorage renamed to ObjectStorer and ReferenceStorer * rebase * general, changes request by @alcortes * general, changes request by @alcortes
Diffstat (limited to 'storage/filesystem/storage_test.go')
-rw-r--r--storage/filesystem/storage_test.go16
1 files changed, 2 insertions, 14 deletions
diff --git a/storage/filesystem/storage_test.go b/storage/filesystem/storage_test.go
index f55452d..c24d5d5 100644
--- a/storage/filesystem/storage_test.go
+++ b/storage/filesystem/storage_test.go
@@ -18,20 +18,8 @@ type StorageSuite struct {
var _ = Suite(&StorageSuite{})
func (s *StorageSuite) SetUpTest(c *C) {
- path := c.MkDir()
- storage, err := NewStorage(os.New(path))
+ storage, err := NewStorage(os.New(c.MkDir()))
c.Assert(err, IsNil)
- s.BaseStorageSuite = test.NewBaseStorageSuite(
- storage.ObjectStorage(),
- storage.ReferenceStorage(),
- storage.ConfigStorage(),
- )
-}
-
-func (s *StorageSuite) TestTxObjectStorageSetAndCommit(c *C) {
- c.Skip("tx not supported")
-}
-func (s *StorageSuite) TestTxObjectStorageSetAndRollback(c *C) {
- c.Skip("tx not supported")
+ s.BaseStorageSuite = test.NewBaseStorageSuite(storage)
}