mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-05 11:19:07 -04:00
TEST_MODE always exists now, so check its value, don't rely on its existence to know that we're in test mode.
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
*/
|
||||
class Gallery_Unit_Test_Controller extends Controller {
|
||||
function Index() {
|
||||
if (!defined('TEST_MODE')) {
|
||||
if (!TEST_MODE) {
|
||||
print Kohana::show_404();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user