Skip to content

Commit b74b053

Browse files
authored
fix: remove php-zts-fileinfo, improve tests, fixes #58 (#59)
1 parent e97109e commit b74b053

2 files changed

Lines changed: 28 additions & 4 deletions

File tree

config.frankenphp.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ webimage_extra_packages:
1717
- php-zts-bz2
1818
- php-zts-cli
1919
- php-zts-ffi
20-
- php-zts-fileinfo
2120
- php-zts-ftp
2221
- php-zts-gd
2322
- php-zts-gettext

tests/test.bats

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ health_checks() {
5050
run ddev php -v
5151
assert_success
5252
assert_output --partial "PHP ${FRANKENPHP_PHP_VERSION}"
53+
refute_output --partial "Warning"
54+
refute_output --partial "is already loaded"
5355

5456
run ddev php --ini
5557
assert_success
@@ -134,9 +136,32 @@ health_checks() {
134136

135137
run ddev php -m
136138
assert_success
137-
assert_output --partial "pdo_mysql"
138-
assert_output --partial "pdo_pgsql"
139-
assert_output --partial "zip"
139+
assert_line "apcu"
140+
assert_line "bcmath"
141+
assert_line "bz2"
142+
assert_line "FFI"
143+
assert_line "fileinfo"
144+
assert_line "ftp"
145+
assert_line "gd"
146+
assert_line "gettext"
147+
assert_line "imagick"
148+
assert_line "intl"
149+
assert_line "ldap"
150+
assert_line "memcached"
151+
assert_line "mysqli"
152+
assert_line "pdo_mysql"
153+
assert_line "pdo_pgsql"
154+
assert_line "pgsql"
155+
assert_line "redis"
156+
assert_line "shmop"
157+
assert_line "soap"
158+
assert_line "sqlite3"
159+
assert_line "sysvmsg"
160+
assert_line "sysvsem"
161+
assert_line "sysvshm"
162+
assert_line "xsl"
163+
assert_line "yaml"
164+
assert_line "zip"
140165

141166
if [[ "${FRANKENPHP_CUSTOM_EXTENSION}" == "true" ]]; then
142167
assert_output --partial "example_pie_extension"

0 commit comments

Comments
 (0)