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

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorv1r0x <vinzenz.rosenkranz@gmail.com>2016-02-18 14:39:19 +0300
committerv1r0x <vinzenz.rosenkranz@gmail.com>2016-02-18 14:39:19 +0300
commitec6e8c1ab666eb94798ff88da9a8d8ed5e311635 (patch)
tree7269ee50cd4137aff87bef94fdfb656f8123a819
parent534071f4b23f8e25a236543e78f82b5eb836faed (diff)
fix unit test
-rw-r--r--tests/lib/appframework/http/RedirectResponseTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/appframework/http/RedirectResponseTest.php b/tests/lib/appframework/http/RedirectResponseTest.php
index 17db0c0be6c..723f6600c55 100644
--- a/tests/lib/appframework/http/RedirectResponseTest.php
+++ b/tests/lib/appframework/http/RedirectResponseTest.php
@@ -43,7 +43,7 @@ class RedirectResponseTest extends \Test\TestCase {
public function testHeaders() {
$headers = $this->response->getHeaders();
$this->assertEquals('/url', $headers['Location']);
- $this->assertEquals(Http::STATUS_TEMPORARY_REDIRECT,
+ $this->assertEquals(Http::STATUS_SEE_OTHER,
$this->response->getStatus());
}