From 81781cb6b4211de42700790b0f4968f39feababd Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Wed, 17 Dec 2014 13:14:29 +0100 Subject: never exit during test runs --- inc/common.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'inc/common.php') diff --git a/inc/common.php b/inc/common.php index b5fdd1ea5..2c9359a0c 100644 --- a/inc/common.php +++ b/inc/common.php @@ -1828,6 +1828,8 @@ function send_redirect($url) { } else { header('Location: '.$url); } + + if(defined('DOKU_UNITTEST')) return; // no exits during unit tests exit; } -- cgit v1.2.3