diff options
author | v1r0x <vinzenz.rosenkranz@gmail.com> | 2016-02-18 12:39:19 +0100 |
---|---|---|
committer | v1r0x <vinzenz.rosenkranz@gmail.com> | 2016-02-18 12:39:19 +0100 |
commit | ec6e8c1ab666eb94798ff88da9a8d8ed5e311635 (patch) | |
tree | 7269ee50cd4137aff87bef94fdfb656f8123a819 /tests/lib/appframework/http | |
parent | 534071f4b23f8e25a236543e78f82b5eb836faed (diff) | |
download | nextcloud-server-ec6e8c1ab666eb94798ff88da9a8d8ed5e311635.tar.gz nextcloud-server-ec6e8c1ab666eb94798ff88da9a8d8ed5e311635.zip |
fix unit test
Diffstat (limited to 'tests/lib/appframework/http')
-rw-r--r-- | tests/lib/appframework/http/RedirectResponseTest.php | 2 |
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()); } |