We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6df9ebf commit 0f26987Copy full SHA for 0f26987
Tests/ManagerRegistryTest.php
@@ -44,7 +44,8 @@ public function testResetService()
44
$registry->resetManager();
45
46
$this->assertSame($foo, $container->get('foo'));
47
- $this->assertObjectNotHasAttribute('bar', $foo);
+ $this->assertInstanceOf(\stdClass::class, $foo);
48
+ $this->assertFalse(property_exists($foo, 'bar'));
49
}
50
51
/**
0 commit comments