Skip to content

Commit

Permalink
fix: use testcontainers.new
Browse files Browse the repository at this point in the history
  • Loading branch information
zvonimirr committed May 11, 2024
1 parent 49eefde commit d2edd0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tenantee/application.ex
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ defmodule Tenantee.Application do
if Mix.env() == :test do
Testcontainers.start_link()

Check warning on line 43 in lib/tenantee/application.ex

View workflow job for this annotation

GitHub Actions / OTP 25.0.0 / Elixir 1.14.5

Testcontainers.start_link/0 is undefined (module Testcontainers is not available or is yet to be defined)

config = %Testcontainers.Container{image: "valkey/valkey:7.2"}
config = Testcontainers.Container.new("valkey/valkey:7.2")

Check warning on line 45 in lib/tenantee/application.ex

View workflow job for this annotation

GitHub Actions / OTP 25.0.0 / Elixir 1.14.5

Testcontainers.Container.new/1 is undefined (module Testcontainers.Container is not available or is yet to be defined)

{:ok, container} =
Testcontainers.start_container(Testcontainers.Container.with_exposed_port(config, 6379))

Check warning on line 48 in lib/tenantee/application.ex

View workflow job for this annotation

GitHub Actions / OTP 25.0.0 / Elixir 1.14.5

Testcontainers.start_container/1 is undefined (module Testcontainers is not available or is yet to be defined)

Check warning on line 48 in lib/tenantee/application.ex

View workflow job for this annotation

GitHub Actions / OTP 25.0.0 / Elixir 1.14.5

Testcontainers.Container.with_exposed_port/2 is undefined (module Testcontainers.Container is not available or is yet to be defined)
Expand Down

0 comments on commit d2edd0e

Please sign in to comment.