diff options
Diffstat (limited to 'weed/credential/credential_test.go')
| -rw-r--r-- | weed/credential/credential_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/weed/credential/credential_test.go b/weed/credential/credential_test.go index 70eeb7b0c..dd1449fa5 100644 --- a/weed/credential/credential_test.go +++ b/weed/credential/credential_test.go @@ -19,10 +19,10 @@ func TestCredentialStoreInterface(t *testing.T) { storeNames := GetAvailableStores() expectedStores := []string{string(StoreTypeFilerEtc), string(StoreTypeMemory)} - // Add SQLite and PostgreSQL if they're available (build tags dependent) + // Add PostgreSQL if it's available (build tags dependent) for _, storeName := range storeNames { found := false - for _, expected := range append(expectedStores, string(StoreTypeSQLite), string(StoreTypePostgres)) { + for _, expected := range append(expectedStores, string(StoreTypePostgres)) { if string(storeName) == expected { found = true break @@ -319,10 +319,10 @@ func TestGetAvailableStores(t *testing.T) { // We expect at least memory and filer_etc stores to be available expectedStores := []string{string(StoreTypeFilerEtc), string(StoreTypeMemory)} - // Add SQLite and PostgreSQL if they're available (build tags dependent) + // Add PostgreSQL if it's available (build tags dependent) for _, storeName := range storeNames { found := false - for _, expected := range append(expectedStores, string(StoreTypeSQLite), string(StoreTypePostgres)) { + for _, expected := range append(expectedStores, string(StoreTypePostgres)) { if storeName == expected { found = true break |
