@@ -412,7 +412,7 @@ public function testMainNavigationDropdownLabelsCanBeSetInConfig()
412412
413413 public function testMainNavigationAutomaticSubdirectoryDropdownLabelsCanBeSetInConfig ()
414414 {
415- config (['hyde.navigation.subdirectories ' => 'dropdown ' ]);
415+ config (['hyde.navigation.subdirectory_display ' => 'dropdown ' ]);
416416 config (['hyde.navigation.labels ' => ['hello ' => 'World ' ]]);
417417
418418 $ this ->assertMenuEquals (['World ' ], [
@@ -444,7 +444,7 @@ public function testPagesInSubdirectoriesAreNotAddedToNavigation()
444444
445445 public function testPagesInSubdirectoriesAreAddedToNavigationWhenNavigationSubdirectoriesIsSetToFlat ()
446446 {
447- config (['hyde.navigation.subdirectories ' => 'flat ' ]);
447+ config (['hyde.navigation.subdirectory_display ' => 'flat ' ]);
448448
449449 $ this ->assertMenuEquals (['Foo ' , 'Bar ' , 'Baz ' ], [
450450 new MarkdownPage ('about/foo ' ),
@@ -455,7 +455,7 @@ public function testPagesInSubdirectoriesAreAddedToNavigationWhenNavigationSubdi
455455
456456 public function testPagesInSubdirectoriesAreAddedAsDropdownsWhenNavigationSubdirectoriesIsSetToDropdown ()
457457 {
458- config (['hyde.navigation.subdirectories ' => 'dropdown ' ]);
458+ config (['hyde.navigation.subdirectory_display ' => 'dropdown ' ]);
459459
460460 $ this ->assertMenuEquals ([
461461 ['label ' => 'About ' , 'children ' => ['Foo ' , 'Bar ' , 'Baz ' ]],
@@ -502,7 +502,7 @@ public function testMainNavigationMenuItemsWithSameLabelButDifferentGroupsAreNot
502502
503503 public function testMainNavigationMenuDropdownItemsWithSameLabelButDifferentGroupsAreNotFiltered ()
504504 {
505- config (['hyde.navigation.subdirectories ' => 'dropdown ' ]);
505+ config (['hyde.navigation.subdirectory_display ' => 'dropdown ' ]);
506506
507507 $ this ->assertMenuEquals ([
508508 ['label ' => 'One ' , 'children ' => ['Foo ' ]],
@@ -515,7 +515,7 @@ public function testMainNavigationMenuDropdownItemsWithSameLabelButDifferentGrou
515515
516516 public function testMainNavigationMenuAutomaticDropdownItemsWithSameLabelButDifferentGroupsAreNotFiltered ()
517517 {
518- config (['hyde.navigation.subdirectories ' => 'dropdown ' ]);
518+ config (['hyde.navigation.subdirectory_display ' => 'dropdown ' ]);
519519
520520 $ this ->assertMenuEquals ([
521521 ['label ' => 'One ' , 'children ' => ['Foo ' ]],
@@ -532,7 +532,7 @@ public function testConflictingSubdirectoryAndFrontMatterDropdownConfigurationGi
532532 // we run into a conflicting state where we don't know what the user intended. We solve this by giving
533533 // precedence to the subdirectory configuration. This is opinionated, but allows for good grouping.
534534
535- config (['hyde.navigation.subdirectories ' => 'dropdown ' ]);
535+ config (['hyde.navigation.subdirectory_display ' => 'dropdown ' ]);
536536
537537 $ this ->assertMenuEquals ([
538538 ['label ' => 'Foo ' , 'children ' => ['Child ' ]],
@@ -543,7 +543,7 @@ public function testConflictingSubdirectoryAndFrontMatterDropdownConfigurationGi
543543
544544 public function testCanMixSubdirectoryDropdownsWithFrontMatterDropdowns ()
545545 {
546- config (['hyde.navigation.subdirectories ' => 'dropdown ' ]);
546+ config (['hyde.navigation.subdirectory_display ' => 'dropdown ' ]);
547547
548548 $ this ->assertMenuEquals ([
549549 ['label ' => 'Foo ' , 'children ' => ['Bar ' , 'Baz ' ]],
@@ -555,7 +555,7 @@ public function testCanMixSubdirectoryDropdownsWithFrontMatterDropdowns()
555555
556556 public function testMainMenuAutomaticDropdownLabelsCanBeSetInConfig ()
557557 {
558- config (['hyde.navigation.subdirectories ' => 'dropdown ' ]);
558+ config (['hyde.navigation.subdirectory_display ' => 'dropdown ' ]);
559559 config (['hyde.navigation.labels ' => ['foo ' => 'Bar ' ]]);
560560
561561 $ this ->assertMenuEquals ([
@@ -1110,7 +1110,7 @@ public function testSidebarCanMixSubdirectoryGroupsWithFrontMatterGroups()
11101110
11111111 public function testMainNavigationDropdownPriorityCanBeSetInConfig ()
11121112 {
1113- config (['hyde.navigation.subdirectories ' => 'dropdown ' ]);
1113+ config (['hyde.navigation.subdirectory_display ' => 'dropdown ' ]);
11141114 config (['hyde.navigation.order ' => ['foo ' => 500 ]]);
11151115
11161116 $ this ->assertMenuEquals (
@@ -1121,7 +1121,7 @@ public function testMainNavigationDropdownPriorityCanBeSetInConfig()
11211121
11221122 public function testMainNavigationDropdownPriorityCanBeSetInConfigUsingDifferingCases ()
11231123 {
1124- config (['hyde.navigation.subdirectories ' => 'dropdown ' ]);
1124+ config (['hyde.navigation.subdirectory_display ' => 'dropdown ' ]);
11251125 config (['hyde.navigation.order ' => ['hello-world ' => 500 ]]);
11261126
11271127 $ expected = [['label ' => 'Hello World ' , 'priority ' => 500 ]];
@@ -1176,7 +1176,7 @@ public function testMainMenuNavigationItemCasingUsingFrontMatter()
11761176
11771177 public function testMainMenuNavigationGroupCasing ()
11781178 {
1179- config (['hyde.navigation.subdirectories ' => 'dropdown ' ]);
1179+ config (['hyde.navigation.subdirectory_display ' => 'dropdown ' ]);
11801180
11811181 // When using subdirectory groupings, we try to format them the same way as the page titles
11821182
0 commit comments