Closed sbuerk closed 3 years ago
Resolves #50
Add an option to all menu types to ignore the excluding of pages with nav_hide = 1, if use cases needs this.
The default remains to exclude them, to be non breaking to the current state of menus behaviour.
Functional pages fixture was extended with pages with nav_hide = 1 set (and nav_hide = 0 for already existing ones)
Existing functional tests were extended to tests menu building with pages with nav_hide = 1, with and without includeNotInMenu set.
Additional functionl tests for ListMenu was added, because there where no functional tests until now.
ListMenu cacheTags tests were added as they work now.
Resolves #50
Add an option to all menu types to ignore the excluding of pages with nav_hide = 1, if use cases needs this.
The default remains to exclude them, to be non breaking to the current state of menus behaviour.
Functional pages fixture was extended with pages with nav_hide = 1 set (and nav_hide = 0 for already existing ones)
Existing functional tests were extended to tests menu building with pages with nav_hide = 1, with and without includeNotInMenu set.
Additional functionl tests for ListMenu was added, because there where no functional tests until now.
ListMenu cacheTags tests were added as they work now.