diff --git a/t/17_apps/04_issue_91.t b/t/17_apps/04_issue_91.t deleted file mode 100644 index 2b35c4bf4..000000000 --- a/t/17_apps/04_issue_91.t +++ /dev/null @@ -1,14 +0,0 @@ -use strict; use warnings; -use Test::More tests => 4, import => ['!pass']; - -use Dancer::Test; - -use lib ('t/lib'); -use MyApp; - -use Dancer ':syntax'; - -response_content_is [GET => "/"], "mainapp"; -response_content_is [GET => "/foo/"], "before block in foo"; -response_content_is [GET => "/foo/"], "before block in foo"; -response_content_is [GET => "/"], "mainapp"; diff --git a/t/lib/MyApp.pm b/t/lib/MyApp.pm deleted file mode 100644 index 0f3cf1248..000000000 --- a/t/lib/MyApp.pm +++ /dev/null @@ -1,8 +0,0 @@ -package MyApp; - -use Dancer ':syntax'; - -load_app 'MyAppFoo', prefix => '/foo'; -get '/' => sub {'mainapp'}; - -1; diff --git a/t/lib/MyAppFoo.pm b/t/lib/MyAppFoo.pm deleted file mode 100644 index 583413989..000000000 --- a/t/lib/MyAppFoo.pm +++ /dev/null @@ -1,13 +0,0 @@ -package MyAppFoo; - -use Dancer ':syntax'; - -hook before {apps => [qw/MyAppFoo/]}, sub { - halt('before block in foo'); -}; - -get '/' => sub { - 'get in package MyAppFoo'; -}; - -1;