Skip to content

Commit

Permalink
⬆️ upgrade serial_test dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Odonno committed Feb 24, 2024
1 parent 160c017 commit 55c99be
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 22 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ assert_fs = "1.0.13"
dir-diff = "0.3.2"
predicates = "3.0.4"
pretty_assertions = "1.4.0"
serial_test = "2.0.0"
serial_test = "3.0.0"
tokio-test = "0.4.3"
6 changes: 3 additions & 3 deletions tests/cli/branch/diff.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use serial_test::serial;
use crate::helpers::*;

#[tokio::test]
#[serial("branches")]
#[serial(branches)]
async fn diff_without_changes() -> Result<()> {
remove_features_ns().await?;

Expand All @@ -32,7 +32,7 @@ async fn diff_without_changes() -> Result<()> {
}

#[tokio::test]
#[serial("branches")]
#[serial(branches)]
async fn diff_with_changes() -> Result<()> {
remove_features_ns().await?;

Expand Down Expand Up @@ -70,7 +70,7 @@ DEFINE FIELD name ON category TYPE string PERMISSIONS FULL\n",
}

#[tokio::test]
#[serial("branches")]
#[serial(branches)]
async fn fails_if_branch_does_not_exist() -> Result<()> {
remove_features_ns().await?;

Expand Down
4 changes: 2 additions & 2 deletions tests/cli/branch/list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use serial_test::serial;
use crate::helpers::*;

#[tokio::test]
#[serial("branches")]
#[serial(branches)]
async fn list_existing_branches() -> Result<()> {
remove_features_ns().await?;

Expand Down Expand Up @@ -75,7 +75,7 @@ async fn list_existing_branches() -> Result<()> {
}

#[tokio::test]
#[serial("branches")]
#[serial(branches)]
async fn list_with_no_existing_branch() -> Result<()> {
remove_features_ns().await?;

Expand Down
4 changes: 2 additions & 2 deletions tests/cli/branch/merge/overwrite.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use serial_test::serial;
use crate::helpers::*;

#[tokio::test]
#[serial("branches")]
#[serial(branches)]
async fn merge_existing_branch() -> Result<()> {
remove_features_ns().await?;

Expand Down Expand Up @@ -82,7 +82,7 @@ async fn merge_existing_branch() -> Result<()> {
}

#[tokio::test]
#[serial("branches")]
#[serial(branches)]
async fn fails_to_merge_if_branch_does_not_exist() -> Result<()> {
remove_features_ns().await?;

Expand Down
8 changes: 4 additions & 4 deletions tests/cli/branch/new.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use serial_test::serial;
use crate::helpers::*;

#[tokio::test]
#[serial("branches")]
#[serial(branches)]
async fn create_new_branch() -> Result<()> {
remove_features_ns().await?;

Expand Down Expand Up @@ -76,7 +76,7 @@ db: test-branch\n",
}

#[tokio::test]
#[serial("branches")]
#[serial(branches)]
async fn fails_if_branch_already_exists() -> Result<()> {
remove_features_ns().await?;

Expand Down Expand Up @@ -104,7 +104,7 @@ async fn fails_if_branch_already_exists() -> Result<()> {
}

#[tokio::test]
#[serial("branches")]
#[serial(branches)]
async fn create_new_branch_with_random_name() -> Result<()> {
remove_features_ns().await?;

Expand Down Expand Up @@ -174,7 +174,7 @@ db: (\S+)\n$",
}

#[tokio::test]
#[serial("branches")]
#[serial(branches)]
async fn create_new_branch_using_config_file() -> Result<()> {
remove_features_ns().await?;

Expand Down
6 changes: 3 additions & 3 deletions tests/cli/branch/remove.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use serial_test::serial;
use crate::helpers::*;

#[tokio::test]
#[serial("branches")]
#[serial(branches)]
async fn remove_existing_branch() -> Result<()> {
remove_features_ns().await?;

Expand Down Expand Up @@ -59,7 +59,7 @@ async fn remove_existing_branch() -> Result<()> {
}

#[tokio::test]
#[serial("branches")]
#[serial(branches)]
async fn fails_to_remove_if_branch_does_not_exist() -> Result<()> {
remove_features_ns().await?;

Expand All @@ -77,7 +77,7 @@ async fn fails_to_remove_if_branch_does_not_exist() -> Result<()> {
}

#[tokio::test]
#[serial("branches")]
#[serial(branches)]
async fn prevent_branch_to_be_removed_if_used_by_another_branch() -> Result<()> {
remove_features_ns().await?;

Expand Down
6 changes: 3 additions & 3 deletions tests/cli/branch/status.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use serial_test::serial;
use crate::helpers::*;

#[tokio::test]
#[serial("branches")]
#[serial(branches)]
async fn display_branch_status() -> Result<()> {
remove_features_ns().await?;

Expand Down Expand Up @@ -45,7 +45,7 @@ Database: {db_name}\n",
}

#[tokio::test]
#[serial("branches")]
#[serial(branches)]
async fn display_branch_status_using_alias() -> Result<()> {
remove_features_ns().await?;

Expand Down Expand Up @@ -83,7 +83,7 @@ Database: {db_name}\n",
}

#[tokio::test]
#[serial("branches")]
#[serial(branches)]
async fn fails_if_branch_does_not_exist() -> Result<()> {
remove_features_ns().await?;

Expand Down

0 comments on commit 55c99be

Please sign in to comment.