From 5be2fdc3cd1784a33452936bcd217a5be2c10c4c Mon Sep 17 00:00:00 2001 From: Martin Schulze Date: Fri, 16 Aug 2019 19:20:31 +0200 Subject: [PATCH] Use correct container name --- test/mail_with_postgrey_disabled_by_default.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/mail_with_postgrey_disabled_by_default.bats b/test/mail_with_postgrey_disabled_by_default.bats index d0e9eb27..d71108b4 100644 --- a/test/mail_with_postgrey_disabled_by_default.bats +++ b/test/mail_with_postgrey_disabled_by_default.bats @@ -15,6 +15,6 @@ function teardown() { } @test "checking process: postgrey (disabled in default configuration)" { - run docker exec mail /bin/bash -c "ps aux --forest | grep -v grep | grep 'postgrey'" + run docker exec $CONTAINER /bin/bash -c "ps aux --forest | grep -v grep | grep 'postgrey'" assert_failure } \ No newline at end of file