Skip to content

Commit a55402b

Browse files
Fix PHPUnit deprecation
1 parent 43d17e6 commit a55402b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Tests/LegacyManagerRegistryTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ public function testResetService()
4646
$registry->resetManager();
4747

4848
$this->assertSame($foo, $container->get('foo'));
49-
$this->assertObjectNotHasAttribute('bar', $foo);
49+
$this->assertInstanceOf(\stdClass::class, $foo);
50+
$this->assertFalse(property_exists($foo, 'bar'));
5051
}
5152

5253
/**

0 commit comments

Comments
 (0)