Skip to content

A native macOS / windows / Linux database IDE built with Swift and AppKit. Connect to PostgreSQL, MySQL, SQLite, and Redis from a single app with a fast, keyboard-driven interface.

C++

test(postgres): order owned reload fixture arguments

Tobi4777b56ddcf3
diff --git a/macos/Tests/GridexTests/PostgreSQLSchemaActionRegressionTests.swift b/macos/Tests/GridexTests/PostgreSQLSchemaActionRegressionTests.swift
index 51ee1b1..cf9a782 100644
--- a/macos/Tests/GridexTests/PostgreSQLSchemaActionRegressionTests.swift
+++ b/macos/Tests/GridexTests/PostgreSQLSchemaActionRegressionTests.swift
@@ -10,9 +10,9 @@ final class SidebarLoadPublicationTests: XCTestCase {
func test_staleSchemaLoadCannotReplaceNewerSidebarContents() async {
let gate = SidebarLoadGate()
let adapter = RecordingDatabaseAdapter(
- schemas: ["tenant_a", "tenant_b"],
blockedSchema: "tenant_a",
- gate: gate
+ gate: gate,
+ schemas: ["tenant_a", "tenant_b"]
)
let appState = AppState()
let config = makePostgreSQLConfig()