Skip to content

Commit

Permalink
fixed the testcases
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Jun 28, 2024
1 parent 12392bc commit d1a2bc4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"groupName": "devDependencies"
},
{
"matchPackagePatterns": ["pytest", "cypress", "pretty_assertions"],
"matchPackagePatterns": ["pytest", "cypress", "pretty_assertions", "testcontainers_modules", "testcontainers"],
"groupName": "testing",
"automerge": true
},
Expand Down
2 changes: 1 addition & 1 deletion server/main-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ testcontainers-modules = { version = "0.6.1", features = ["postgres"] }

[dev-dependencies]
pretty_assertions = "1.4.0"
testcontainers = { version = "0.19.0", features = ["watchdog"] }
testcontainers = { version = "0.18.0", features = ["watchdog"] }
testcontainers-modules = {version = "0.6.1",features = ["postgres"] }

[features]
Expand Down
4 changes: 2 additions & 2 deletions server/main-api/src/setup/tests.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use meilisearch_sdk::client::Client;
use sqlx::postgres::PgPoolOptions;
use sqlx::{Pool, Postgres};
use testcontainers::core::{ContainerPort, WaitFor};
use testcontainers::{ContainerAsync, GenericImage, ImageExt};
use testcontainers_modules::testcontainers::core::{ContainerPort, WaitFor};
use testcontainers_modules::testcontainers::{ContainerAsync, GenericImage, ImageExt};
use testcontainers_modules::{postgres, testcontainers::runners::AsyncRunner};

#[cfg(not(feature = "skip_db_setup"))]
Expand Down

0 comments on commit d1a2bc4

Please sign in to comment.