Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordiosmosis <benakamoorthi@fastmail.fm>2014-07-26 17:13:21 +0400
committerdiosmosis <benakamoorthi@fastmail.fm>2014-07-26 17:13:21 +0400
commit8c94dc713f891b199ae7267f6cdfd20d7adb3667 (patch)
treed48400ef4ac2fc6d9a03809e4bd9d4b98396b409 /tests/PHPUnit/bootstrap.php
parent900c7e3782ae2a18cb127a9fa11c8e73d337c41a (diff)
Refactoring IntegrationTestCase class:
- moved all API URL generation logic & API response handling logic to separate classes - created ApiTestConfig class to hold API test options (and documentation for properties) - remove unnecessary IntegrationTestCase properties and methods (including apiNotToCall/apiToCall) - remove as many unnecessary API test options as possible (including abandonedCarts, hackDeleteRangeArchivesBefore) - rename checkRequestResponse to assertApiResponseHasNoError
Diffstat (limited to 'tests/PHPUnit/bootstrap.php')
-rw-r--r--tests/PHPUnit/bootstrap.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/PHPUnit/bootstrap.php b/tests/PHPUnit/bootstrap.php
index 4058a867d4..d32c604026 100644
--- a/tests/PHPUnit/bootstrap.php
+++ b/tests/PHPUnit/bootstrap.php
@@ -41,6 +41,9 @@ require_once PIWIK_INCLUDE_PATH . '/tests/PHPUnit/ConsoleCommandTestCase.php';
require_once PIWIK_INCLUDE_PATH . '/tests/PHPUnit/FakeAccess.php';
require_once PIWIK_INCLUDE_PATH . '/tests/PHPUnit/MockPiwikOption.php';
require_once PIWIK_INCLUDE_PATH . '/tests/PHPUnit/TestingEnvironment.php';
+require_once PIWIK_INCLUDE_PATH . '/tests/PHPUnit/Impl/TestRequestCollection.php';
+require_once PIWIK_INCLUDE_PATH . '/tests/PHPUnit/Impl/TestRequestResponse.php';
+require_once PIWIK_INCLUDE_PATH . '/tests/PHPUnit/Impl/ApiTestConfig.php';
\Piwik\Profiler::setupProfilerXHProf( $mainRun = true );