Skip to content

Use DuckDbInitializer.CurrentSchemaVersion in tests instead of hardcoded value#97

Merged
erikdarlingdata merged 1 commit intodevfrom
fix/schema-version-test-dynamic
Feb 17, 2026
Merged

Use DuckDbInitializer.CurrentSchemaVersion in tests instead of hardcoded value#97
erikdarlingdata merged 1 commit intodevfrom
fix/schema-version-test-dynamic

Conversation

@erikdarlingdata
Copy link
Owner

Summary

  • Made CurrentSchemaVersion internal (was private) and added InternalsVisibleTo for the test project
  • Tests now reference DuckDbInitializer.CurrentSchemaVersion directly instead of a hardcoded integer
  • Schema version bumps no longer require updating tests

Test plan

  • All 6 DuckDbSchemaTests pass locally

🤖 Generated with Claude Code

…ded value

Made CurrentSchemaVersion internal and added InternalsVisibleTo so the
test project references the constant directly. Schema bumps no longer
require updating tests.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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