From e2b14c91c9612793c93b71bcc0ffc3f7a87d3243 Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Tue, 27 Feb 2024 19:05:15 +0100 Subject: [PATCH] Add back testing helper to die with the state --- .../tests/Feature/AutomaticNavigationConfigurationsTest.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/framework/tests/Feature/AutomaticNavigationConfigurationsTest.php b/packages/framework/tests/Feature/AutomaticNavigationConfigurationsTest.php index 8a0109e4f13..fdae21d2a38 100644 --- a/packages/framework/tests/Feature/AutomaticNavigationConfigurationsTest.php +++ b/packages/framework/tests/Feature/AutomaticNavigationConfigurationsTest.php @@ -1334,6 +1334,11 @@ public function getState(int $index): ?TestNavItem return $this->state()[$index] ?? null; } + public function ddState(): void + { + dd($this->state()); + } + /** * @param array $expected The expected state format * @param bool $strict If false, missing array keys are ignored