From 7c754535ce9c3e673d8e7236d6fedb9eb293d310 Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Wed, 28 Feb 2024 13:46:20 +0100 Subject: [PATCH] Remove resolved hotpatches from test Fixed in https://github.com/hydephp/develop/pull/1597 --- .../tests/Feature/AutomaticNavigationConfigurationsTest.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/framework/tests/Feature/AutomaticNavigationConfigurationsTest.php b/packages/framework/tests/Feature/AutomaticNavigationConfigurationsTest.php index 61ae342659d..ad5ac5a0712 100644 --- a/packages/framework/tests/Feature/AutomaticNavigationConfigurationsTest.php +++ b/packages/framework/tests/Feature/AutomaticNavigationConfigurationsTest.php @@ -399,7 +399,6 @@ public function testMainNavigationMenuWithConfigLabels() public function testMainNavigationDropdownLabelsCanBeSetInConfig() { - config(['hyde.navigation.subdirectories' => 'dropdown']); // TODO This should NOT be necessary when using front matter config(['hyde.navigation.labels' => ['hello' => 'World']]); $this->assertMenuEquals(['World'], [ @@ -1184,8 +1183,6 @@ public function testMainMenuNavigationGroupCasing() public function testMainMenuNavigationGroupCasingUsingFrontMatter() { - config(['hyde.navigation.subdirectories' => 'dropdown']); // TODO This should NOT be necessary when using front matter - // If the user explicitly sets the group, we should respect that and assume it's already formatted correctly $this->assertMenuEquals(['Hello World'], [new MarkdownPage('foo', ['navigation.group' => 'Hello World'])]);