remove sqlite due to GOOS support for freebsd and openbsd

This commit is contained in:
chrislu
2025-07-06 21:50:08 -07:00
parent a7c57caa3f
commit 8493871406
7 changed files with 6 additions and 589 deletions

View File

@@ -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