X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=t%2Fcontrollers%2Fbase%2Frender.t;h=b9ce240be18bbd8b64a215c376578424f261a1b1;hb=c46d944c0f688128ee33b2989260f3d9390c61d5;hp=3d5bad0e5c856d447c50a68b74531502e6f981ee;hpb=a67ad20f388cd35487a7a9d46a003e39e1f402aa;p=kivitendo-erp.git diff --git a/t/controllers/base/render.t b/t/controllers/base/render.t index 3d5bad0e5..b9ce240be 100644 --- a/t/controllers/base/render.t +++ b/t/controllers/base/render.t @@ -1,6 +1,6 @@ use strict; use Test::Exception; -use Test::More; +use Test::More tests => 19; use Test::Output; use lib 't'; @@ -14,17 +14,10 @@ no warnings 'uninitialized'; Support::TestSetup::login(); -if (!Support::TestSetup::templates_cache_writable()) { - plan skip_all => 'Cache dir not writable for this test'; -} else { - plan tests => 19; -} - sub reset_test_env { $ENV{HTTP_USER_AGENT} = 'Perl Tests'; - $::request = SL::Request->new( - cgi => CGI->new({}), + $::request = Support::TestSetup->create_new_request( layout => SL::Layout::Javascript->new, );