@@ -25,7 +25,8 @@ struct QuickSwitcherObjectKindTests {
2525 TableInfo ( name: " daily_totals " , type: . materializedView, rowCount: nil ) ,
2626 TableInfo ( name: " orders " , type: . partitionedTable, rowCount: nil )
2727 ] ,
28- target: target
28+ target: target,
29+ connectionSwitchesDatabases: true
2930 )
3031
3132 #expect( items. map ( \. tableType) == [ . materializedView, . partitionedTable] )
@@ -46,7 +47,11 @@ struct QuickSwitcherObjectKindTests {
4647 defer { coordinator. teardown ( ) }
4748
4849 let item = QuickSwitcherItem (
49- id: QuickSwitcherItem . tableItemId ( name: " daily_totals " , schema: " public " ) ,
50+ frecencyKey: QuickSwitcherFrecencyKey . table (
51+ name: " daily_totals " ,
52+ schema: " public " ,
53+ in: . init( database: " shop " , connectionSwitchesDatabases: true )
54+ ) ,
5055 name: " daily_totals " ,
5156 kind: . view,
5257 subtitle: String ( localized: " Materialized View " ) ,
@@ -75,7 +80,11 @@ struct QuickSwitcherObjectKindTests {
7580 defer { coordinator. teardown ( ) }
7681
7782 let item = QuickSwitcherItem (
78- id: QuickSwitcherItem . tableItemId ( name: " events " , schema: " public " ) ,
83+ frecencyKey: QuickSwitcherFrecencyKey . table (
84+ name: " events " ,
85+ schema: " public " ,
86+ in: . init( database: " shop " , connectionSwitchesDatabases: true )
87+ ) ,
7988 name: " events " ,
8089 kind: . table,
8190 subtitle: String ( localized: " Partitioned Table " ) ,
0 commit comments