This commit is contained in:
Shish 2020-03-28 14:39:03 +00:00
parent ab4b745310
commit 126c629a1a

View File

@ -197,7 +197,11 @@ class IndexTest extends ShimmiePHPUnitTestCase
{
send_event(new UserLoginEvent(User::by_name(self::$user_name)));
send_event(new PageNavBuildingEvent());
send_event(new PageSubNavBuildingEvent("parent"));
// just a few common parents
foreach(["help", "posts", "system", "user"] as $parent) {
send_event(new PageSubNavBuildingEvent($parent));
}
$this->assertTrue(true);
}
}