summaryrefslogtreecommitdiffstats
path: root/tests/lib/request.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/request.php')
-rw-r--r--tests/lib/request.php10
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/lib/request.php b/tests/lib/request.php
index b89bf92ece7..fbab8645d72 100644
--- a/tests/lib/request.php
+++ b/tests/lib/request.php
@@ -6,19 +6,23 @@
* See the COPYING-README file.
*/
-class Test_Request extends PHPUnit_Framework_TestCase {
+class Test_Request extends \Test\TestCase {
+
+ protected function setUp() {
+ parent::setUp();
- public function setUp() {
OC::$server->getConfig()->setSystemValue('overwritewebroot', '/domain.tld/ownCloud');
OC::$server->getConfig()->setSystemValue('trusted_proxies', array());
OC::$server->getConfig()->setSystemValue('forwarded_for_headers', array());
}
- public function tearDown() {
+ protected function tearDown() {
OC::$server->getConfig()->setSystemValue('overwritewebroot', '');
OC::$server->getConfig()->setSystemValue('trusted_proxies', array());
OC::$server->getConfig()->setSystemValue('forwarded_for_headers', array());
+
+ parent::tearDown();
}
public function testScriptNameOverWrite() {