diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-08-03 21:03:11 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-08-03 21:03:11 +0200 |
commit | 649cc2fa898968b78e249d594e846c84c3695d8d (patch) | |
tree | 69d42f0eabaf11ce18ad14acd223553c424c93db /tests/lib/appframework | |
parent | cd1bfd7eb67e95d5fcd3336b8a4d4109459f27d4 (diff) | |
download | nextcloud-server-649cc2fa898968b78e249d594e846c84c3695d8d.tar.gz nextcloud-server-649cc2fa898968b78e249d594e846c84c3695d8d.zip |
Remove duplicate and unused code
Diffstat (limited to 'tests/lib/appframework')
-rw-r--r-- | tests/lib/appframework/http/OCSResponseTest.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/lib/appframework/http/OCSResponseTest.php b/tests/lib/appframework/http/OCSResponseTest.php index 111dc7ad0a3..1ca3e330bad 100644 --- a/tests/lib/appframework/http/OCSResponseTest.php +++ b/tests/lib/appframework/http/OCSResponseTest.php @@ -47,14 +47,13 @@ class OCSResponseTest extends \Test\TestCase { public function testRender() { $response = new OCSResponse( - 'xml', 'status', 2, 'message', ['test' => 'hi'], 'tag', 'abc', - 'dynamic', 3, 4 + 'xml', 2, 'message', ['test' => 'hi'], 3, 4 ); $out = $response->render(); $expected = "<?xml version=\"1.0\"?>\n" . "<ocs>\n" . " <meta>\n" . - " <status>status</status>\n" . + " <status>failure</status>\n" . " <statuscode>2</statuscode>\n" . " <message>message</message>\n" . " <totalitems>3</totalitems>\n" . |