Skip to content

Commit

Permalink
fix phpunit deprecations by enabling attributes (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
David Coutadeur authored and davidcoutadeur committed Aug 27, 2024
1 parent 9f9a907 commit c4c8507
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/Ltb/LdapTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

require __DIR__ . '/../../vendor/autoload.php';

use PHPUnit\Framework\Attributes\RunInSeparateProcess;

final class LdapTest extends \Mockery\Adapter\Phpunit\MockeryTestCase
{

Expand Down Expand Up @@ -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
{
Expand Down

0 comments on commit c4c8507

Please sign in to comment.