From 478d0fc5c12504594148b06e948a8af4dee8fd52 Mon Sep 17 00:00:00 2001 From: Sasha Anastasi Date: Tue, 4 Mar 2025 08:18:47 +1300 Subject: [PATCH] Run class in separate process ensuring tearDown method gets called --- tests/outagelib_test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/outagelib_test.php b/tests/outagelib_test.php index e41efa0..827a736 100644 --- a/tests/outagelib_test.php +++ b/tests/outagelib_test.php @@ -747,7 +747,7 @@ EOT; * * We need this because we modify the request headers, * see https://github.com/sebastianbergmann/phpunit/issues/720#issuecomment-10421092 - * @runInSeparateProcess + * @runClassInSeparateProcess */ public function test_evaluation_maintenancepage(?string $allowedips, ?string $iptouse, ?string $accesskey, ?string $accesskeytouse, array $expectedoutputs) {