Skip to content

test(integration): migrate to Testcontainers with real SQL scripts (F…#26

Merged
pierrick-fonquerne merged 1 commit intodevelopfrom
FRO-59-Migrer-les-tests-d-intégration-InMemory-vers-Testcontainers
Jan 9, 2026

Hidden character warning

The head ref may contain hidden characters: "FRO-59-Migrer-les-tests-d-int\u00e9gration-InMemory-vers-Testcontainers"
Merged

test(integration): migrate to Testcontainers with real SQL scripts (F…#26
pierrick-fonquerne merged 1 commit intodevelopfrom
FRO-59-Migrer-les-tests-d-intégration-InMemory-vers-Testcontainers

Conversation

@pierrick-fonquerne
Copy link
Copy Markdown
Owner

…RO-59)

  • Execute SQL scripts from database/sql/ instead of EnsureCreated()
  • Migrate DbContext tests from Unit (InMemory) to Integration (Testcontainers)
  • Add constraint validation tests (unique email/pseudo, rating range)
  • Fix Image property type: string -> byte[] to match SQL BYTEA schema

This ensures EF Core model matches the actual SQL schema.

…RO-59)

- Execute SQL scripts from database/sql/ instead of EnsureCreated()
- Migrate DbContext tests from Unit (InMemory) to Integration (Testcontainers)
- Add constraint validation tests (unique email/pseudo, rating range)
- Fix Image property type: string -> byte[] to match SQL BYTEA schema

This ensures EF Core model matches the actual SQL schema.
@vercel
Copy link
Copy Markdown

vercel bot commented Jan 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
fantasyrealm-character-manager Ready Ready Preview, Comment Jan 9, 2026 10:30am

@pierrick-fonquerne pierrick-fonquerne merged commit 149e72d into develop Jan 9, 2026
7 checks passed
@pierrick-fonquerne pierrick-fonquerne deleted the FRO-59-Migrer-les-tests-d-intégration-InMemory-vers-Testcontainers branch January 9, 2026 10:31
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