projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
compiler independence
[kivitendo-erp.git]
/
t
/
controllers
/
base
/
render.t
diff --git
a/t/controllers/base/render.t
b/t/controllers/base/render.t
index
3d5bad0
..
b9ce240
100644
(file)
--- a/
t/controllers/base/render.t
+++ b/
t/controllers/base/render.t
@@
-1,6
+1,6
@@
use strict;
use Test::Exception;
use strict;
use Test::Exception;
-use Test::More;
+use Test::More
tests => 19
;
use Test::Output;
use lib 't';
use Test::Output;
use lib 't';
@@
-14,17
+14,10
@@
no warnings 'uninitialized';
Support::TestSetup::login();
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';
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,
);
layout => SL::Layout::Javascript->new,
);