aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/AppFramework/Http/TemplateResponseTest.php
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-09 13:53:40 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-09 13:54:22 +0200
commitafbd9c4e6ed834e713039f2cff88ba3eec03dadb (patch)
tree7d8721cf8fc0329d6b750db63798de67a162b090 /tests/lib/AppFramework/Http/TemplateResponseTest.php
parent19e97e86c69ab128191439d6a17dacb5a630cf98 (diff)
downloadnextcloud-server-afbd9c4e6ed834e713039f2cff88ba3eec03dadb.tar.gz
nextcloud-server-afbd9c4e6ed834e713039f2cff88ba3eec03dadb.zip
Unify function spacing to PSR2 recommendation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests/lib/AppFramework/Http/TemplateResponseTest.php')
-rw-r--r--tests/lib/AppFramework/Http/TemplateResponseTest.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/lib/AppFramework/Http/TemplateResponseTest.php b/tests/lib/AppFramework/Http/TemplateResponseTest.php
index af5b428cf86..0faa78998cb 100644
--- a/tests/lib/AppFramework/Http/TemplateResponseTest.php
+++ b/tests/lib/AppFramework/Http/TemplateResponseTest.php
@@ -40,7 +40,7 @@ class TemplateResponseTest extends \Test\TestCase {
}
- public function testSetParamsConstructor(){
+ public function testSetParamsConstructor() {
$params = ['hi' => 'yo'];
$this->tpl = new TemplateResponse('app', 'home', $params);
@@ -48,7 +48,7 @@ class TemplateResponseTest extends \Test\TestCase {
}
- public function testSetRenderAsConstructor(){
+ public function testSetRenderAsConstructor() {
$renderAs = 'myrender';
$this->tpl = new TemplateResponse('app', 'home', [], $renderAs);
@@ -56,7 +56,7 @@ class TemplateResponseTest extends \Test\TestCase {
}
- public function testSetParams(){
+ public function testSetParams() {
$params = ['hi' => 'yo'];
$this->tpl->setParams($params);
@@ -64,11 +64,11 @@ class TemplateResponseTest extends \Test\TestCase {
}
- public function testGetTemplateName(){
+ public function testGetTemplateName() {
$this->assertEquals('home', $this->tpl->getTemplateName());
}
- public function testGetRenderAs(){
+ public function testGetRenderAs() {
$render = 'myrender';
$this->tpl->renderAs($render);
$this->assertEquals($render, $this->tpl->getRenderAs());