aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/AppFramework/Http/RequestTest.php
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2020-04-10 16:38:23 +0200
committerGitHub <noreply@github.com>2020-04-10 16:38:23 +0200
commit1762a409f954fd9a66e7572704ea9ba7813601b4 (patch)
tree554d8f6bc93f397755d0a7c050041a9973e25396 /tests/lib/AppFramework/Http/RequestTest.php
parenteba3726e1e1b7ce0a98df4552cfdecfe05e0d63a (diff)
parentcaff1023ea72bb2ea94130e18a2a6e2ccf819e5f (diff)
downloadnextcloud-server-1762a409f954fd9a66e7572704ea9ba7813601b4.tar.gz
nextcloud-server-1762a409f954fd9a66e7572704ea9ba7813601b4.zip
Merge pull request #20422 from nextcloud/techdebt/format-control-structs-classes-methods
Format control structures, classes, methods and function
Diffstat (limited to 'tests/lib/AppFramework/Http/RequestTest.php')
-rw-r--r--tests/lib/AppFramework/Http/RequestTest.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/lib/AppFramework/Http/RequestTest.php b/tests/lib/AppFramework/Http/RequestTest.php
index 819eb666d7b..2004bd2e6b5 100644
--- a/tests/lib/AppFramework/Http/RequestTest.php
+++ b/tests/lib/AppFramework/Http/RequestTest.php
@@ -77,7 +77,6 @@ class RequestTest extends \Test\TestCase {
$this->assertSame('Joey', $request->get['nickname']);
// Always returns null if variable not set.
$this->assertSame(null, $request->{'flickname'});
-
}
// urlParams has precedence over POST which has precedence over GET
@@ -326,11 +325,10 @@ class RequestTest extends \Test\TestCase {
try {
$resource = $request->put;
- } catch(\LogicException $e) {
+ } catch (\LogicException $e) {
return;
}
$this->fail('Expected LogicException.');
-
}