epic-ts
[kivitendo-erp.git] / t / controllers / base / render.t
index 0f252bb..3d5bad0 100644 (file)
@@ -7,11 +7,19 @@ use lib 't';
 use Support::TestSetup;
 
 use SL::Presenter;
+use SL::Controller::Base;
+use SL::Layout::Javascript;
 
 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';