Skip to content

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
copilot/sub-pr-86
Feb 10, 2026
Merged

Fix obsolete Testcontainers API calls after 4.10.0 upgrade#91
JerrettDavis merged 3 commits intodependabot/nuget/tests/JD.Efcpt.Build.Tests/Testcontainers.FirebirdSql-4.10.0from
copilot/sub-pr-86

Conversation

Copy link
Contributor

Copilot AI commented Feb 10, 2026

Testcontainers 4.10.0 deprecated parameterless constructors in favor of constructors that accept the image name directly.

Changes

  • FirebirdSchemaIntegrationTests: Updated FirebirdSqlBuilder initialization to pass image to constructor
  • SnowflakeSchemaIntegrationTests: Updated ContainerBuilder initialization to pass image to constructor
- var container = new FirebirdSqlBuilder()
-     .WithImage("jacobalberty/firebird:v4.0")
+ var container = new FirebirdSqlBuilder("jacobalberty/firebird:v4.0")
      .Build();

The .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.

Copilot AI and others added 2 commits February 10, 2026 03:54
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
Copilot AI requested a review from JerrettDavis February 10, 2026 04:04
@JerrettDavis JerrettDavis marked this pull request as ready for review February 10, 2026 04:12
@JerrettDavis JerrettDavis merged commit 3816898 into dependabot/nuget/tests/JD.Efcpt.Build.Tests/Testcontainers.FirebirdSql-4.10.0 Feb 10, 2026
2 checks passed
@JerrettDavis JerrettDavis deleted the copilot/sub-pr-86 branch February 10, 2026 04:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants