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:
@@ -123,7 +123,7 @@ class questionReportTest 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));
|
||||
@@ -145,8 +145,7 @@ class questionReportTest extends PhraseanetPHPUnitAuthenticatedAbstract
|
||||
$i ++;
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
$this->assertArrayHasKey($groupby, $this->report->getDisplay());
|
||||
$this->assertArrayHasKey('nb', $this->report->getDisplay());
|
||||
}
|
||||
@@ -154,7 +153,7 @@ class questionReportTest 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