mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 06:53:15 +00:00
Fix CS
This commit is contained in:
@@ -127,7 +127,7 @@ class editTest extends PhraseanetPHPUnitAuthenticatedAbstract
|
||||
else
|
||||
$this->assertEquals(count($this->report->getDisplay()), count($conf));
|
||||
|
||||
if ( ! $groupby) {
|
||||
if (! $groupby) {
|
||||
foreach ($this->report->getDisplay() as $col => $colconf) {
|
||||
$this->assertArrayHaskey($col, $conf);
|
||||
$this->assertTrue(is_array($colconf));
|
||||
@@ -149,8 +149,7 @@ class editTest extends PhraseanetPHPUnitAuthenticatedAbstract
|
||||
$i ++;
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
$this->assertArrayHasKey($groupby, $this->report->getDisplay());
|
||||
$this->assertArrayHasKey('nombre', $this->report->getDisplay());
|
||||
}
|
||||
@@ -158,7 +157,7 @@ class editTest extends PhraseanetPHPUnitAuthenticatedAbstract
|
||||
|
||||
public function reporttestResult($report, $conf, $groupby = false)
|
||||
{
|
||||
if ( ! $groupby) {
|
||||
if (! $groupby) {
|
||||
foreach ($report['result'] as $row) {
|
||||
foreach ($conf as $key => $value) {
|
||||
|
||||
|
Reference in New Issue
Block a user