users weekly stats as bar-chart in dashboard (#847)

This commit is contained in:
Kevin Papst
2019-06-13 18:38:49 +02:00
committed by GitHub
parent e1f862507e
commit 3311f17bbb
96 changed files with 2754 additions and 846 deletions

View File

@@ -11,7 +11,7 @@ namespace App\Tests\Event;
use App\Entity\User;
use App\Event\DashboardEvent;
use App\Model\DashboardSection;
use App\Widget\Type\CompoundRow;
use PHPUnit\Framework\TestCase;
/**
@@ -29,7 +29,7 @@ class DashboardEventTest extends TestCase
$this->assertEquals($user, $sut->getUser());
$this->assertEquals([], $sut->getSections());
$section = new DashboardSection('foo');
$section = new CompoundRow();
$sut->addSection($section);
$this->assertEquals([$section], $sut->getSections());