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

github.com/nextcloud/notifications.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-10-01 17:26:37 +0300
committerJoas Schilling <nickvergessen@owncloud.com>2015-10-01 17:26:37 +0300
commitd672d5331b8fe354520d4e083daed2ea20130382 (patch)
treed2ddff6187d54c3adcf3e078462f59743267e71b /tests
parent3922c471f7855581cb674777e161e9b91caa63b3 (diff)
Use a different status code for "No notifiers"
Diffstat (limited to 'tests')
-rw-r--r--tests/controller/EndpointControllerTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/controller/EndpointControllerTest.php b/tests/controller/EndpointControllerTest.php
index 402f615..99e1885 100644
--- a/tests/controller/EndpointControllerTest.php
+++ b/tests/controller/EndpointControllerTest.php
@@ -234,7 +234,7 @@ class EndpointControllerTest extends TestCase {
$response = $controller->get();
$this->assertInstanceOf('OCP\AppFramework\Http\Response', $response);
- $this->assertSame(Http::STATUS_NOT_FOUND, $response->getStatus());
+ $this->assertSame(Http::STATUS_NO_CONTENT, $response->getStatus());
}
public function dataDelete() {