"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Neos.Flow/Tests/Functional/Error/DebuggerTest.php" between
flow-development-collection-5.2.1.tar.gz and flow-development-collection-5.2.2.tar.gz

About: TYPO3 Flow is a web application platform enabling developers creating fast, reliable and complex web solutions ("the next level of PHP programming"; old name "FLOW3").

DebuggerTest.php  (flow-development-collection-5.2.1):DebuggerTest.php  (flow-development-collection-5.2.2)
skipping to change at line 44 skipping to change at line 44
$this->configurationManager = $this->objectManager->get(ConfigurationMan ager::class); $this->configurationManager = $this->objectManager->get(ConfigurationMan ager::class);
Debugger::clearState(); Debugger::clearState();
} }
/** /**
* @test * @test
*/ */
public function ignoredClassesCanBeOverwrittenBySettings() public function ignoredClassesCanBeOverwrittenBySettings()
{ {
$object = new ApplicationContext('Development'); $object = new ApplicationContext('Development');
$this->assertEquals(sprintf('%s prototype object', ApplicationContext::c lass), Debugger::renderDump($object, 10, true)); $this->assertEquals(sprintf('%s prototype object', ApplicationContext::c lass), Debugger::renderDump($object, 0, true));
Debugger::clearState(); Debugger::clearState();
$currentConfiguration = ObjectAccess::getProperty($this->configurationMa nager, 'configurations', true); $currentConfiguration = ObjectAccess::getProperty($this->configurationMa nager, 'configurations', true);
$configurationOverwrite['Settings']['Neos']['Flow']['error']['debugger'] ['ignoredClasses']['Neos\\\\Flow\\\\Core\\\\.*'] = false; $configurationOverwrite['Settings']['Neos']['Flow']['error']['debugger'] ['ignoredClasses']['Neos\\\\Flow\\\\Core\\\\.*'] = false;
$newConfiguration = Arrays::arrayMergeRecursiveOverrule($currentConfigur ation, $configurationOverwrite); $newConfiguration = Arrays::arrayMergeRecursiveOverrule($currentConfigur ation, $configurationOverwrite);
ObjectAccess::setProperty($this->configurationManager, 'configurations', $newConfiguration, true); ObjectAccess::setProperty($this->configurationManager, 'configurations', $newConfiguration, true);
$this->assertContains('rootContextString', Debugger::renderDump($object, 10, true)); $this->assertContains('rootContextString', Debugger::renderDump($object, 0, true));
} }
} }
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)