Fix obsolete Testcontainers API calls after 4.10.0 upgrade#91
Merged
JerrettDavis merged 3 commits intodependabot/nuget/tests/JD.Efcpt.Build.Tests/Testcontainers.FirebirdSql-4.10.0from Feb 10, 2026
Conversation
Co-authored-by: JerrettDavis <2610199+JerrettDavis@users.noreply.github.com>
Co-authored-by: JerrettDavis <2610199+JerrettDavis@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update Testcontainers.FirebirdSql from 4.4.0 to 4.10.0
Fix obsolete Testcontainers API calls after 4.10.0 upgrade
Feb 10, 2026
JerrettDavis
approved these changes
Feb 10, 2026
3816898
into
dependabot/nuget/tests/JD.Efcpt.Build.Tests/Testcontainers.FirebirdSql-4.10.0
2 checks passed
JerrettDavis
added a commit
that referenced
this pull request
Feb 17, 2026
* deps: Bump Testcontainers.PostgreSql from 4.4.0 to 4.10.0 --- updated-dependencies: - dependency-name: Testcontainers.PostgreSql dependency-version: 4.10.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * deps: Bump Testcontainers.FirebirdSql from 4.4.0 to 4.10.0 --- updated-dependencies: - dependency-name: Testcontainers.FirebirdSql dependency-version: 4.10.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * deps: Bump Testcontainers.MySql from 4.4.0 to 4.10.0 --- updated-dependencies: - dependency-name: Testcontainers.MySql dependency-version: 4.10.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Fix obsolete Testcontainers API calls after 4.10.0 upgrade (#91) * Initial plan * Plan to fix obsolete Testcontainers API calls Co-authored-by: JerrettDavis <2610199+JerrettDavis@users.noreply.github.com> * Fix obsolete Testcontainers API calls Co-authored-by: JerrettDavis <2610199+JerrettDavis@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: JerrettDavis <2610199+JerrettDavis@users.noreply.github.com> * deps: Bump Testcontainers.MsSql from 4.4.0 to 4.10.0 --- updated-dependencies: - dependency-name: Testcontainers.MsSql dependency-version: 4.10.0 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: Testcontainers.MsSql dependency-version: 4.10.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Fix Testcontainers.MsSql 4.10.0 breaking changes (#92) * deps: Bump Testcontainers.MsSql from 4.4.0 to 4.10.0 --- updated-dependencies: - dependency-name: Testcontainers.MsSql dependency-version: 4.10.0 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: Testcontainers.MsSql dependency-version: 4.10.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Initial plan * Fix Testcontainers obsolete constructors to use new API Co-authored-by: JerrettDavis <2610199+JerrettDavis@users.noreply.github.com> * Update Testcontainers.MsSql to 4.10.0 in Sdk.IntegrationTests Co-authored-by: JerrettDavis <2610199+JerrettDavis@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: JerrettDavis <2610199+JerrettDavis@users.noreply.github.com> Co-authored-by: JD Davis <mxjerrett@gmail.com> * deps: update NuGet packages to latest versions * deps: Bump Testcontainers.Oracle from 4.4.0 to 4.10.0 --- updated-dependencies: - dependency-name: Testcontainers.Oracle dependency-version: 4.10.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * fix: address build errors from dependency updates - Add 'partial' keyword to all test classes (required by TinyBDD 0.19.2 source generator) - Restore TinyBDD analyzer disabling target (source generator produces broken code) - Fix obsolete parameterless Testcontainers constructors (MySql, Oracle, PostgreSql) - All 858 unit tests passing * refactor: Remove redundant WithImage() calls in Testcontainers setup (#103) * Initial plan * refactor: remove redundant WithImage() calls and outdated.txt Co-authored-by: JerrettDavis <2610199+JerrettDavis@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: JerrettDavis <2610199+JerrettDavis@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: JerrettDavis <2610199+JerrettDavis@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Testcontainers 4.10.0 deprecated parameterless constructors in favor of constructors that accept the image name directly.
Changes
FirebirdSqlBuilderinitialization to pass image to constructorContainerBuilderinitialization to pass image to constructorThe
.WithImage()fluent method is replaced by constructor parameter as required by the new API.✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.