diff options
author | diosmosis <benaka@piwik.pro> | 2015-04-09 06:36:22 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-04-09 06:36:22 +0300 |
commit | 67829227ce2d0c4473466acbc42118a7a150b14c (patch) | |
tree | 973ebb1b5aa30d0b47a8d14ce73b7524a4051be0 /tests/PHPUnit/proxy | |
parent | 47e7d3a74c6b13431e489d2d652af53410f880ad (diff) |
Added environment validation system test (mostly failing) that tests Piwik's behavior when INI files are gone or corrupt from each Piwik endpoint (tracker/reporting UI/console). Hacked test code to make it possible and for some tests to pass.
Diffstat (limited to 'tests/PHPUnit/proxy')
-rw-r--r-- | tests/PHPUnit/proxy/console | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/PHPUnit/proxy/console b/tests/PHPUnit/proxy/console new file mode 100644 index 0000000000..1ccef19ecc --- /dev/null +++ b/tests/PHPUnit/proxy/console @@ -0,0 +1,7 @@ +#!/usr/bin/env php +<?php +require realpath(dirname(__FILE__)) . "/includes.php"; + +Piwik_TestingEnvironment::addHooks(); + +require_once PIWIK_INCLUDE_PATH . "/console"; |