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

github.com/nextcloud/notes.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorkorelstar <korelstar@users.noreply.github.com>2020-07-13 09:27:52 +0300
committerkorelstar <korelstar@users.noreply.github.com>2020-07-13 09:43:46 +0300
commit017e825dafd4212c362197f7def97bf225f17997 (patch)
treeb3f5e9bb8ab1018c10f1f5c16ef1de4c7a85679b /tests
parent552bae269a71b13e18cb2007f90a95d9e1dcd80b (diff)
use Nextcloud Coding Standard
Diffstat (limited to 'tests')
-rw-r--r--tests/api/APIv02Test.php5
-rw-r--r--tests/api/APIv1Test.php5
-rw-r--r--tests/api/AbstractAPITest.php4
-rw-r--r--tests/api/CapabilitiesTest.php4
-rw-r--r--tests/api/CommonAPITest.php5
5 files changed, 15 insertions, 8 deletions
diff --git a/tests/api/APIv02Test.php b/tests/api/APIv02Test.php
index cbca70de..2bd51e66 100644
--- a/tests/api/APIv02Test.php
+++ b/tests/api/APIv02Test.php
@@ -1,9 +1,10 @@
-<?php declare(strict_types=1);
+<?php
+
+declare(strict_types=1);
namespace OCA\Notes\Tests\API;
class APIv02Test extends CommonAPITest {
-
public function __construct() {
parent::__construct('0.2', true);
}
diff --git a/tests/api/APIv1Test.php b/tests/api/APIv1Test.php
index 89d28f0d..24d385a9 100644
--- a/tests/api/APIv1Test.php
+++ b/tests/api/APIv1Test.php
@@ -1,9 +1,10 @@
-<?php declare(strict_types=1);
+<?php
+
+declare(strict_types=1);
namespace OCA\Notes\Tests\API;
class APIv1Test extends CommonAPITest {
-
public function __construct() {
parent::__construct('1.1', false);
}
diff --git a/tests/api/AbstractAPITest.php b/tests/api/AbstractAPITest.php
index 1c515303..95d5f6c0 100644
--- a/tests/api/AbstractAPITest.php
+++ b/tests/api/AbstractAPITest.php
@@ -1,4 +1,6 @@
-<?php declare(strict_types=1);
+<?php
+
+declare(strict_types=1);
namespace OCA\Notes\Tests\API;
diff --git a/tests/api/CapabilitiesTest.php b/tests/api/CapabilitiesTest.php
index 2153a2e5..81855be3 100644
--- a/tests/api/CapabilitiesTest.php
+++ b/tests/api/CapabilitiesTest.php
@@ -1,4 +1,6 @@
-<?php declare(strict_types=1);
+<?php
+
+declare(strict_types=1);
namespace OCA\Notes\Tests\API;
diff --git a/tests/api/CommonAPITest.php b/tests/api/CommonAPITest.php
index 0dbc8268..d2afb841 100644
--- a/tests/api/CommonAPITest.php
+++ b/tests/api/CommonAPITest.php
@@ -1,9 +1,10 @@
-<?php declare(strict_types=1);
+<?php
+
+declare(strict_types=1);
namespace OCA\Notes\Tests\API;
abstract class CommonAPITest extends AbstractAPITest {
-
private $requiredAttributes = [
'id' => 'integer',
'content' => 'string',