Skip to content

fix: resolve test failures in PR #13#23

Closed
vikram-blaxel wants to merge 2 commits into
mainfrom
fix/pr-13-3e04c3
Closed

fix: resolve test failures in PR #13#23
vikram-blaxel wants to merge 2 commits into
mainfrom
fix/pr-13-3e04c3

Conversation

@vikram-blaxel
Copy link
Copy Markdown
Owner

Automated fix for failing tests in #13.

Changes made:
Updated the SQLAlchemy Book model to make the publisher column nullable (Mapped[str | None] with nullable=True) so it aligns with how the repository creates books and how tests supply data (no publisher field). This prevents integrity errors when inserting rows without a publisher while keeping the rest of the schema and application logic unchanged.

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