Chore: Moving to slog (folders) (#87000)
* moving folders to slog * trying to fix the tests * fix per-logger filters in slog * allow using slog.Default() * bring cfg back to keep the pr small * fix tests * back to the roots
This commit is contained in:
@@ -32,7 +32,7 @@ func TestIntegrationCreate(t *testing.T) {
|
||||
}
|
||||
|
||||
db, cfg := sqlstore.InitTestDB(t)
|
||||
folderStore := ProvideStore(db, cfg)
|
||||
folderStore := ProvideStore(db)
|
||||
|
||||
orgID := CreateOrg(t, db, cfg)
|
||||
|
||||
@@ -152,7 +152,7 @@ func TestIntegrationDelete(t *testing.T) {
|
||||
}
|
||||
|
||||
db, cfg := sqlstore.InitTestDB(t)
|
||||
folderStore := ProvideStore(db, cfg)
|
||||
folderStore := ProvideStore(db)
|
||||
|
||||
orgID := CreateOrg(t, db, cfg)
|
||||
|
||||
@@ -199,7 +199,7 @@ func TestIntegrationUpdate(t *testing.T) {
|
||||
}
|
||||
|
||||
db, cfg := sqlstore.InitTestDB(t)
|
||||
folderStore := ProvideStore(db, cfg)
|
||||
folderStore := ProvideStore(db)
|
||||
|
||||
orgID := CreateOrg(t, db, cfg)
|
||||
|
||||
@@ -374,7 +374,7 @@ func TestIntegrationGet(t *testing.T) {
|
||||
}
|
||||
|
||||
db, cfg := sqlstore.InitTestDB(t)
|
||||
folderStore := ProvideStore(db, cfg)
|
||||
folderStore := ProvideStore(db)
|
||||
|
||||
orgID := CreateOrg(t, db, cfg)
|
||||
|
||||
@@ -491,7 +491,7 @@ func TestIntegrationGetParents(t *testing.T) {
|
||||
}
|
||||
|
||||
db, cfg := sqlstore.InitTestDB(t)
|
||||
folderStore := ProvideStore(db, cfg)
|
||||
folderStore := ProvideStore(db)
|
||||
|
||||
orgID := CreateOrg(t, db, cfg)
|
||||
|
||||
@@ -559,7 +559,7 @@ func TestIntegrationGetChildren(t *testing.T) {
|
||||
}
|
||||
|
||||
db, cfg := sqlstore.InitTestDB(t)
|
||||
folderStore := ProvideStore(db, cfg)
|
||||
folderStore := ProvideStore(db)
|
||||
|
||||
orgID := CreateOrg(t, db, cfg)
|
||||
|
||||
@@ -739,7 +739,7 @@ func TestIntegrationGetHeight(t *testing.T) {
|
||||
}
|
||||
|
||||
db, cfg := sqlstore.InitTestDB(t)
|
||||
folderStore := ProvideStore(db, cfg)
|
||||
folderStore := ProvideStore(db)
|
||||
|
||||
orgID := CreateOrg(t, db, cfg)
|
||||
|
||||
@@ -772,7 +772,7 @@ func TestIntegrationGetFolders(t *testing.T) {
|
||||
|
||||
foldersNum := 10
|
||||
db, cfg := sqlstore.InitTestDB(t)
|
||||
folderStore := ProvideStore(db, cfg)
|
||||
folderStore := ProvideStore(db)
|
||||
|
||||
orgID := CreateOrg(t, db, cfg)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user