fix: use non-deprecated method of fetching docker-options

This commit is contained in:
Jose Diaz-Gonzalez
2020-04-04 13:36:27 -04:00
parent 28f5f9a88c
commit d19c32ce0a

View File

@@ -85,7 +85,7 @@ teardown() {
@test "($PLUGIN_COMMAND_PREFIX:link) links to app with docker-options" { @test "($PLUGIN_COMMAND_PREFIX:link) links to app with docker-options" {
dokku "$PLUGIN_COMMAND_PREFIX:link" l my_app dokku "$PLUGIN_COMMAND_PREFIX:link" l my_app
run dokku docker-options my_app run dokku docker-options:report my_app
assert_contains "${lines[*]}" "--link dokku.mysql.l:dokku-mysql-l" assert_contains "${lines[*]}" "--link dokku.mysql.l:dokku-mysql-l"
assert_success assert_success
dokku "$PLUGIN_COMMAND_PREFIX:unlink" l my_app dokku "$PLUGIN_COMMAND_PREFIX:unlink" l my_app