Skip to content

Commit fb1955c

Browse files
committed
more in tests
1 parent 196529f commit fb1955c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/test.bats

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,17 @@ setup() {
1010
ddev config --project-name=${PROJNAME}
1111
ddev start -y >/dev/null
1212
PHP_PATCH_VERSION="8.2.8"
13+
cat <<EOF >index.php
14+
<?php
15+
phpinfo();
16+
EOF
1317
}
1418

1519
health_checks() {
1620
ddev php --version
1721
assert_output_contains "PHP ${PHP_PATCH_VERSION}"
22+
curl -s https://${PROJNAME}.ddev.site/
23+
assert_output_contains "PHP Version ${PHP_PATCH_VERSION}"
1824
}
1925

2026
teardown() {

0 commit comments

Comments
 (0)