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 43d17e6 commit a55402bCopy full SHA for a55402b
Tests/LegacyManagerRegistryTest.php
@@ -46,7 +46,8 @@ public function testResetService()
46
$registry->resetManager();
47
48
$this->assertSame($foo, $container->get('foo'));
49
- $this->assertObjectNotHasAttribute('bar', $foo);
+ $this->assertInstanceOf(\stdClass::class, $foo);
50
+ $this->assertFalse(property_exists($foo, 'bar'));
51
}
52
53
/**
0 commit comments