Skip to content

Commit 1f426f0

Browse files
committed
Fixing unit test
1 parent 3bfb906 commit 1f426f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-and-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ RESULT=`docker run --rm -e PHP_INI_SESSION__SAVE_PATH="tcp://localhost?auth=your
131131
[[ "$RESULT" = "session.save_path => tcp://localhost?auth=yourverycomplex\"passwordhere => tcp://localhost?auth=yourverycomplex\"passwordhere" ]]
132132

133133
# Tests that the SMTP parameter is set in uppercase
134-
RESULT=`docker run --rm -e PHP_INI_SMTP="192.168.0.1" thecodingmachine/php:${PHP_VERSION}-${BRANCH}-slim-${BRANCH_VARIANT} php -i | grep "SMTP"`
134+
RESULT=`docker run --rm -e PHP_INI_SMTP="192.168.0.1" thecodingmachine/php:${PHP_VERSION}-${BRANCH}-slim-${BRANCH_VARIANT} php -i | grep "^SMTP"`
135135
[[ "$RESULT" = "SMTP => 192.168.0.1 => 192.168.0.1" ]]
136136

137137
# Tests that environment variables are passed to startup scripts when UID is set

0 commit comments

Comments
 (0)