fix(rust): adapt bats test to --project-path argument
project was rename --project-path on some commands
@@ -469,7 +469,7 @@ teardown() {
blue_identifier=$($OCKAM identity show blue)
# They haven't been added by enroller yet
- run $OCKAM project authenticate --identity green --project /tmp/project.json
+ run $OCKAM project authenticate --identity green --project-path /tmp/project.json
assert_failure
@@ -481,12 +481,12 @@ teardown() {
export OCKAM_HOME=/tmp/ockam
# Green' identity was added by enroller
- run $OCKAM project authenticate --identity green --project /tmp/project.json
+ run $OCKAM project authenticate --identity green --project-path /tmp/project.json
assert_success
assert_output --partial $green_identifier
# For blue, we use an enrollment token generated by enroller
- run $OCKAM project authenticate --identity blue --token $blue_token --project /tmp/project.json
+ run $OCKAM project authenticate --identity blue --token $blue_token --project-path /tmp/project.json
assert_success
assert_output --partial $blue_identifier
}
