From 6b6f44b3cfdbeb5ef0f3cef2ce848681515bad8d Mon Sep 17 00:00:00 2001 From: David Coutadeur Date: Tue, 27 Aug 2024 12:01:06 +0200 Subject: [PATCH] fix phpunit deprecations by enabling attributes (#33) --- tests/Ltb/LdapTest.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/Ltb/LdapTest.php b/tests/Ltb/LdapTest.php index ea2b42d..782f5cf 100644 --- a/tests/Ltb/LdapTest.php +++ b/tests/Ltb/LdapTest.php @@ -2,6 +2,8 @@ require __DIR__ . '/../../vendor/autoload.php'; +use PHPUnit\Framework\Attributes\RunInSeparateProcess; + final class LdapTest extends \Mockery\Adapter\Phpunit\MockeryTestCase { @@ -599,10 +601,6 @@ public function test_get_password_value_with_dummy_pwdattribute(): void } - /** runInSeparateProcess is needed for \Ltb\Password - * not interfering with other tests - * @runInSeparateProcess - */ #[RunInSeparateProcess] public function test_change_ad_password_as_user(): void {