Skip to content

Commit

Permalink
Fix functional test (test for exit code 1)
Browse files Browse the repository at this point in the history
  • Loading branch information
cmuench committed Aug 4, 2022
1 parent 9e3cc61 commit 2605d7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/phar-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ function test_magerun_commands() {
assert_command_contains "config:store:get --scope=stores --scope-id=default n98/magerun/example" "myStore2value"
assert_command_contains "config:store:get --scope=default --scope-id=0 n98/magerun/example" "n98/magerun/example"
assert_command_contains "config:store:get --scope=default --scope-id=admin n98/magerun/example" "n98/magerun/example"
assert_command_contains "config:store:get --scope=not_existing n98/magerun/example" "Invalid scope parameter. It must be one of default,websites,stores"
assert_command_with_exitcode "config:store:get --scope=not_existing n98/magerun/example" 1
# config:store:delete
assert_command_contains "config:store:delete n98/magerun/example" "deleted path"
# customer:create
Expand Down

0 comments on commit 2605d7a

Please sign in to comment.