mirror of
https://github.com/msmhq/msm.git
synced 2024-08-30 18:12:35 +00:00
Added test for deleting a server that does not exist.
This commit is contained in:
parent
8a6d8ba892
commit
e5e38fc8e2
7
test.sh
7
test.sh
@ -109,6 +109,13 @@ test_create_server_with_jar_groups() {
|
||||
}
|
||||
|
||||
|
||||
test_deleting_server_that_does_not_exist() {
|
||||
local result="$(stdall $SCRIPT server delete example)"
|
||||
local regex="^There\ is\ no\ server\ with\ the\ name"
|
||||
|
||||
assertTrue "" "[[ \"$result\" =~ $regex ]]"
|
||||
}
|
||||
|
||||
# Server Tests
|
||||
# ------------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user