From: Moritz Bunkus Date: Fri, 1 Feb 2013 13:12:50 +0000 (+0100) Subject: Testcase für SL::Controller::Base::render() gefixt X-Git-Tag: release-3.1.0beta1~649 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=e2da553ff383556b6277040b2454a2d06ee70174;p=kivitendo-erp.git Testcase für SL::Controller::Base::render() gefixt --- diff --git a/t/controllers/base/render.t b/t/controllers/base/render.t index 9b09045d6..716ba428c 100644 --- a/t/controllers/base/render.t +++ b/t/controllers/base/render.t @@ -20,7 +20,7 @@ sub reset_test_env { layout => SL::Layout::Javascript->new, }; - $::myconfig{stylesheet} = 'javascript'; + $::myconfig{menustyle} = 'javascript'; delete @{ $::form }{qw(header footer)}; } @@ -65,13 +65,13 @@ stdout_like { $ctrl->render(\'Hallo [% world %]', world => 'Welt') } qr//i # Menu yes/no: reset_test_env(); -stdout_like { $ctrl->render(\'Hallo [% world %]', world => 'Welt') } qr/render(\'Hallo [% world %]', world => 'Welt') } qr/render(\'Hallo [% world %]', { header => 0 }, world => 'Welt') } qr/render(\'Hallo [% world %]', { header => 0 }, world => 'Welt') } qr/render(\'Hallo [% world %]', { layout => 0 }, world => 'Welt') } qr/render(\'Hallo [% world %]', { layout => 0 }, world => 'Welt') } qr/