forked from netz98/n98-magerun2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: move test before customer is deleted
- Loading branch information
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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" | ||
|