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 3142108 commit 61bbbcaCopy full SHA for 61bbbca
tests/system/Config/BaseConfigTest.php
@@ -290,9 +290,9 @@ public function testRedoingDiscoveryWillStillSetDidDiscoveryPropertyToTrue(): vo
290
$locator->method('search')->with('Config/Registrar.php')->willReturn([]);
291
Services::injectMock('locator', $locator);
292
293
+ $this->setPrivateProperty(RegistrarConfig::class, 'didDiscovery', false);
294
+
295
$config = new RegistrarConfig();
- $this->setPrivateProperty($config, 'didDiscovery', false);
- ($this->getPrivateMethodInvoker($config, 'registerProperties'))();
296
297
$this->assertTrue($this->getPrivateProperty($config, 'didDiscovery'));
298
}
0 commit comments