This commit is contained in:
Romain Neutron
2013-05-29 21:29:40 +02:00
parent 278eb3c2dc
commit 91185e6f3c
30 changed files with 65 additions and 102 deletions

View File

@@ -52,7 +52,7 @@ class patch_3803Test extends PhraseanetPHPUnitAbstract
$panel = $this->getMock('Alchemy\Phrasea\SearchEngine\ConfigurationPanelInterface');
$panel->expects($this->once())
->method('saveConfiguration')
->will($this->returnCallback(function($json) use (&$catchSEConf){
->will($this->returnCallback(function($json) use (&$catchSEConf) {
$catchSEConf = $json;
}));
$panel->expects($this->once())
@@ -130,7 +130,7 @@ class patch_3803Test extends PhraseanetPHPUnitAbstract
$panel = $this->getMock('Alchemy\Phrasea\SearchEngine\ConfigurationPanelInterface');
$panel->expects($this->once())
->method('saveConfiguration')
->will($this->returnCallback(function($json) use (&$catchSEConf){
->will($this->returnCallback(function($json) use (&$catchSEConf) {
$catchSEConf = $json;
}));
$panel->expects($this->once())