Skip to content

fix: resolve test failures in PR #13#14

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

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

Conversation

@vikram-blaxel
Copy link
Copy Markdown
Owner

@vikram-blaxel vikram-blaxel commented Apr 9, 2026

Automated fix for failing tests in #13.

Changes made:
The fix was simple: I changed the publisher field in the Book SQLAlchemy model from nullable=False to nullable=True on line 21. This resolved the NOT NULL constraint violation that was occurring when books were created without a publisher value, since the test data and BookIn Pydantic model don't include the publisher field.

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