Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
84b62938da | ||
|
|
6b25da8d43 |
@@ -1,4 +1,4 @@
|
||||
[plugin]
|
||||
description = "dokku mysql service plugin"
|
||||
version = "1.2.6"
|
||||
version = "1.2.7"
|
||||
[plugin.config]
|
||||
|
||||
@@ -24,11 +24,11 @@ teardown() {
|
||||
@test "($PLUGIN_COMMAND_PREFIX:logs) success when not tailing" {
|
||||
export ECHO_DOCKER_COMMAND="true"
|
||||
run dokku "$PLUGIN_COMMAND_PREFIX:logs" l
|
||||
assert_output "docker logs --tail 100 testid"
|
||||
assert_contains "docker logs --tail 100 testid"
|
||||
}
|
||||
|
||||
@test "($PLUGIN_COMMAND_PREFIX:logs) success when tailing" {
|
||||
export ECHO_DOCKER_COMMAND="true"
|
||||
run dokku "$PLUGIN_COMMAND_PREFIX:logs" l -t
|
||||
assert_output "docker logs --follow testid"
|
||||
assert_contains "docker logs --follow testid"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user