added internal rates (#1591)

This commit is contained in:
Kevin Papst
2020-04-08 14:50:15 +02:00
committed by GitHub
parent 82c713031e
commit 68d703d1e3
128 changed files with 4044 additions and 1571 deletions

View File

@@ -27,8 +27,8 @@ class DashboardSubscriberTest extends TestCase
public function testGetSubscribedEvents()
{
$events = DashboardSubscriber::getSubscribedEvents();
$this->assertArrayHasKey(DashboardEvent::DASHBOARD, $events);
$methodName = $events[DashboardEvent::DASHBOARD][0];
$this->assertArrayHasKey(DashboardEvent::class, $events);
$methodName = $events[DashboardEvent::class][0];
$this->assertTrue(method_exists(DashboardSubscriber::class, $methodName));
}