diff --git a/src/duplicacy_storage_test.go b/src/duplicacy_storage_test.go index 43c1c2a..ae24c6c 100644 --- a/src/duplicacy_storage_test.go +++ b/src/duplicacy_storage_test.go @@ -169,7 +169,15 @@ func loadStorage(localStoragePath string, threads int) (Storage, error) { } storage.SetDefaultNestingLevels([]int{2, 3}, 2) return storage, err + } else if testStorageName == "fabric" { + storage, err := CreateFileFabricStorage(config["endpoint"], config["token"], config["storage_path"], threads) + if err != nil { + return nil, err + } + storage.SetDefaultNestingLevels([]int{2, 3}, 2) + return storage, err } + return nil, fmt.Errorf("Invalid storage named: %s", testStorageName) }