aports/testing/php84/fix-test-gh16628.patch
2024-11-05 23:04:24 +00:00

24 lines
857 B
Diff

Patch-Source: https://github.com/php/php-src/commit/3f1ea1b663c5cde0eea986dad2ad42532a55e375
From 3f1ea1b663c5cde0eea986dad2ad42532a55e375 Mon Sep 17 00:00:00 2001
From: Niels Dossche <7771979+nielsdos@users.noreply.github.com>
Date: Tue, 5 Nov 2024 21:35:47 +0100
Subject: [PATCH] Fix test with shared zend_test (#16705)
---
sapi/fpm/tests/gh16628.phpt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sapi/fpm/tests/gh16628.phpt b/sapi/fpm/tests/gh16628.phpt
index e2df0c8cb84d..b160bb180ffb 100644
--- a/sapi/fpm/tests/gh16628.phpt
+++ b/sapi/fpm/tests/gh16628.phpt
@@ -32,7 +32,7 @@ for ($i = 1; $i < 100; $i++) {
EOT;
$tester = new FPM\Tester($cfg, $code);
-$tester->start();
+$tester->start(extensions: ['zend_test']);
$tester->expectLogStartNotices();
$tester->request()->expectEmptyBody();
for ($i = 1; $i < 100; $i++) {