Skip to content

Commit

Permalink
fix: move test before customer is deleted
Browse files Browse the repository at this point in the history
  • Loading branch information
c-walter committed Feb 12, 2024
1 parent 6521b33 commit 0ed21d6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/bats/functional_magerun_commands.bats
Original file line number Diff line number Diff line change
Expand Up @@ -179,16 +179,16 @@ function cleanup_files_in_magento() {
assert_output --partial "Password successfully changed"
}

@test "Command: customer:delete" {
run $BIN "customer:delete" --fuzzy --email=foo --force
assert_output --partial "Successfully deleted 1 customer/s"
}

@test "Command: customer:add-address" {
run $BIN "customer:add-address" [email protected] base --firstname="John" --lastname="Doe" --street="Pariser Platz" --city="Berlin" --country="DE" --postcode="10117" --telephone="1234567890" --default-billing --default-shipping
assert_output --partial "Address added successfully to customer [email protected]"
}

@test "Command: customer:delete" {
run $BIN "customer:delete" --fuzzy --email=foo --force
assert_output --partial "Successfully deleted 1 customer/s"
}

@test "Command: db:add-default-authorization-entries" {
run $BIN "db:add-default-authorization-entries"
assert_output --partial "OK"
Expand Down

0 comments on commit 0ed21d6

Please sign in to comment.