From eb1f26e8fbb2f539a005f32de7b62d4b94bde1cb Mon Sep 17 00:00:00 2001 From: Nicky Ayoub <2052886+nicky-ayoub@users.noreply.github.com> Date: Thu, 22 Aug 2024 11:12:05 -0700 Subject: [PATCH] Update 04-full_fat_app.t Duplicate route declarations causes tests to fail. --- t/04-full_fat_app.t | 5 ----- 1 file changed, 5 deletions(-) diff --git a/t/04-full_fat_app.t b/t/04-full_fat_app.t index 7c702d1..f563a0f 100644 --- a/t/04-full_fat_app.t +++ b/t/04-full_fat_app.t @@ -39,11 +39,6 @@ sub startup { ->to('Public#eat_cake') ; - $self->routes->any('/cake/eat') - ->requires(is_role => 'chef') - ->to('Public#make_cake') - ; - $self->routes->any('/cake/letthem') ->requires(is_role => ['chef', {'eat' => 'brioche'}]) ->to('Public#make_cake')