mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-26 03:09:10 +02:00
Fix dashlet unit tests
This commit is contained in:
parent
6e28912db7
commit
c147341648
@ -132,6 +132,7 @@ class DashletTest extends BaseDashboardTestCase
|
|||||||
$default = $this->dashboard->getActiveHome();
|
$default = $this->dashboard->getActiveHome();
|
||||||
$pane1 = $default->getActivePane();
|
$pane1 = $default->getActivePane();
|
||||||
$pane2 = $default->getEntry('Test2');
|
$pane2 = $default->getEntry('Test2');
|
||||||
|
$pane2->loadDashboardEntries();
|
||||||
|
|
||||||
$this->assertCount(
|
$this->assertCount(
|
||||||
1,
|
1,
|
||||||
@ -220,6 +221,7 @@ class DashletTest extends BaseDashboardTestCase
|
|||||||
$default = $this->dashboard->getActiveHome();
|
$default = $this->dashboard->getActiveHome();
|
||||||
$pane1 = $default->getActivePane();
|
$pane1 = $default->getActivePane();
|
||||||
$pane2 = $default->getEntry('Test2');
|
$pane2 = $default->getEntry('Test2');
|
||||||
|
$pane2->loadDashboardEntries();
|
||||||
|
|
||||||
$pane1->manageEntry($this->getTestDashlet(), $pane2);
|
$pane1->manageEntry($this->getTestDashlet(), $pane2);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user