Added test for deleting a server that does not exist.

This commit is contained in:
Marcus Whybrow 2012-06-05 01:40:28 +01:00
parent 8a6d8ba892
commit e5e38fc8e2

View File

@ -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 # Server Tests
# ------------ # ------------