fix TestHomeNodeMenu test

Signed-off-by: Valere JEANTET <valere.jeantet@gmail.com>
This commit is contained in:
Valere JEANTET 2015-07-13 22:07:04 +02:00 committed by Bjørn Erik Pedersen
parent 247574976c
commit 2c22a8b79a

View file

@ -471,7 +471,7 @@ func TestHomeNodeMenu(t *testing.T) {
{"main", homeMenuEntry, true, false}, {"main", homeMenuEntry, true, false},
{"doesnotexist", homeMenuEntry, false, false}, {"doesnotexist", homeMenuEntry, false, false},
{"main", &MenuEntry{Name: "Somewhere else", URL: "/somewhereelse"}, false, false}, {"main", &MenuEntry{Name: "Somewhere else", URL: "/somewhereelse"}, false, false},
{"grandparent", findTestMenuEntryByID(s, "grandparent", "grandparentId"), false, false}, {"grandparent", findTestMenuEntryByID(s, "grandparent", "grandparentId"), false, true},
{"grandparent", findTestMenuEntryByID(s, "grandparent", "parentId"), false, true}, {"grandparent", findTestMenuEntryByID(s, "grandparent", "parentId"), false, true},
{"grandparent", findTestMenuEntryByID(s, "grandparent", "grandchildId"), true, false}, {"grandparent", findTestMenuEntryByID(s, "grandparent", "grandchildId"), true, false},
} { } {