Skip to content

test: move the materialized view Quick Switcher tests onto the frecency key API - #3100

Merged
datlechin merged 1 commit into
mainfrom
fix/matview-test-cross-connection-signature
Sep 23, 2026
Merged

datlechin merged 1 commit into
mainfrom
fix/matview-test-cross-connection-signature

Conversation

@datlechin

Copy link
Copy Markdown
Member

main does not build its test target again. #3082 replaced QuickSwitcherItem(id:) and tableItemId with a frecency key, and added a connectionSwitchesDatabases: argument to makeCrossConnectionItems. #3063 and #3072 merged afterwards with tests written against the old API:

Both now use QuickSwitcherFrecencyKey.table(name:schema:in:) and pass connectionSwitchesDatabases: true, which is what a PostgreSQL connection reports. Neither test asserts anything about the key, so their assertions are unchanged.

Tests

The whole TableProTests target builds. MaterializedViewRowWriteTests and QuickSwitcherObjectKindTests: 14 of 14. SwiftLint on both files: 0 violations.

@datlechin
datlechin merged commit 3699332 into main Sep 23, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant