fix for #50 - remove /0 , be heroku-compatible
This commit is contained in:
@@ -21,12 +21,12 @@ teardown() {
|
||||
|
||||
@test "($PLUGIN_COMMAND_PREFIX:info) success" {
|
||||
run dokku "$PLUGIN_COMMAND_PREFIX:info" l
|
||||
assert_contains "${lines[*]}" "DSN: redis://dokku-redis-l:6379/0"
|
||||
assert_contains "${lines[*]}" "DSN: redis://dokku-redis-l:6379"
|
||||
}
|
||||
|
||||
@test "($PLUGIN_COMMAND_PREFIX:info) replaces underscores by dash in hostname" {
|
||||
dokku "$PLUGIN_COMMAND_PREFIX:create" test_with_underscores
|
||||
run dokku "$PLUGIN_COMMAND_PREFIX:info" test_with_underscores
|
||||
assert_contains "${lines[*]}" "DSN: redis://dokku-redis-test-with-underscores:6379/0"
|
||||
assert_contains "${lines[*]}" "DSN: redis://dokku-redis-test-with-underscores:6379"
|
||||
dokku --force "$PLUGIN_COMMAND_PREFIX:destroy" test_with_underscores
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user