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:
authorThomas Steur <thomas.steur@gmail.com>2015-04-30 01:24:30 +0300
committerThomas Steur <thomas.steur@gmail.com>2015-05-01 02:56:04 +0300
commitdf93be7bddf139ef83e09111f1e23f5024117cff (patch)
tree046875f0bdb39aeb0936947f78d01a8798fdee2d /tests/PHPUnit/Framework/TestCase
parentbeb709c8616d49d68b3d9fa27ada7b9643f5e842 (diff)
Restore auth after API request
Diffstat (limited to 'tests/PHPUnit/Framework/TestCase')
-rwxr-xr-xtests/PHPUnit/Framework/TestCase/SystemTestCase.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/PHPUnit/Framework/TestCase/SystemTestCase.php b/tests/PHPUnit/Framework/TestCase/SystemTestCase.php
index f8944bf880..cf26fde724 100755
--- a/tests/PHPUnit/Framework/TestCase/SystemTestCase.php
+++ b/tests/PHPUnit/Framework/TestCase/SystemTestCase.php
@@ -597,9 +597,9 @@ abstract class SystemTestCase extends PHPUnit_Framework_TestCase
}
}
- public function assertHttpResponseText($expectedResponseCode, $url, $message = '')
+ public function assertHttpResponseText($expectedResponseText, $url, $message = '')
{
- self::assertThat($url, new HttpResponseText($expectedResponseCode), $message);
+ self::assertThat($url, new HttpResponseText($expectedResponseText), $message);
}
public function assertResponseCode($expectedResponseCode, $url, $message = '')