add test for wildcard domain. don't match domain substring. closes #1614
This commit is contained in:
1 parent
59912d43f1
commit
4b2a777425
2 files changed
+12
-1
No files matched your search
@@ -46,6 +46,17 @@ teardown() {
|
||||
refute_line "test.app.dokku.me"
|
||||
}
|
||||
|
||||
@test "(domains) domains:remove (wildcard domain)" {
|
||||
run dokku domains:add $TEST_APP *.dokku.me
|
||||
echo "output: "$output
|
||||
echo "status: "$status
|
||||
assert_success
|
||||
run dokku domains:remove $TEST_APP *.dokku.me
|
||||
echo "output: "$output
|
||||
echo "status: "$status
|
||||
refute_line "*.dokku.me"
|
||||
}
|
||||
|
||||
@test "(domains) domains:clear" {
|
||||
run dokku domains:add $TEST_APP test.app.dokku.me
|
||||
echo "output: "$output
|
||||
|
||||
Reference in new issue
Block a user