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

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2020-04-09 21:39:37 +0300
committerGitHub <noreply@github.com>2020-04-09 21:39:37 +0300
commit008e6d7e849a82fdc3aa20169c4c8bdd0fe506be (patch)
tree6abbe3d8741de956ad787b5e3d55cec85ceb558f /apps/dav/tests
parent64510932b8bd7d4d1d490f7da7fb9ebcf21e31c2 (diff)
parent3a415e4139d6e28c16b0420ab411e6df5ff6d54a (diff)
Merge pull request #20391 from nextcloud/refactor/spaces-cleanup
Remove all extra whitespace PSR2 does not like
Diffstat (limited to 'apps/dav/tests')
-rw-r--r--apps/dav/tests/unit/CalDAV/Schedule/IMipPluginTest.php6
-rw-r--r--apps/dav/tests/unit/SystemTag/SystemTagPluginTest.php6
-rw-r--r--apps/dav/tests/unit/SystemTag/SystemTagsObjectMappingCollectionTest.php2
3 files changed, 7 insertions, 7 deletions
diff --git a/apps/dav/tests/unit/CalDAV/Schedule/IMipPluginTest.php b/apps/dav/tests/unit/CalDAV/Schedule/IMipPluginTest.php
index 53e1b8d0c8f..a666aec95a7 100644
--- a/apps/dav/tests/unit/CalDAV/Schedule/IMipPluginTest.php
+++ b/apps/dav/tests/unit/CalDAV/Schedule/IMipPluginTest.php
@@ -192,7 +192,7 @@ class IMipPluginTest extends TestCase {
->with('dav', 'invitation_link_recipients', 'yes')
->willReturn('yes');
- $message = $this->_testMessage( $veventParams );
+ $message = $this->_testMessage($veventParams);
$this->_expectSend('frodo@hobb.it', $expectsMail, $expectsMail);
@@ -274,8 +274,8 @@ class IMipPluginTest extends TestCase {
'SUMMARY' => 'Fellowship meeting',
'DTSTART' => new \DateTime('2018-01-01 00:00:00')
], $attrs));
- $message->message->VEVENT->add( 'ORGANIZER', 'mailto:gandalf@wiz.ard' );
- $message->message->VEVENT->add( 'ATTENDEE', 'mailto:'.$recipient, [ 'RSVP' => 'TRUE' ] );
+ $message->message->VEVENT->add('ORGANIZER', 'mailto:gandalf@wiz.ard');
+ $message->message->VEVENT->add('ATTENDEE', 'mailto:'.$recipient, [ 'RSVP' => 'TRUE' ]);
$message->sender = 'mailto:gandalf@wiz.ard';
$message->senderName = 'Mr. Wizard';
$message->recipient = 'mailto:'.$recipient;
diff --git a/apps/dav/tests/unit/SystemTag/SystemTagPluginTest.php b/apps/dav/tests/unit/SystemTag/SystemTagPluginTest.php
index 24fc561cd9a..ec80d916b58 100644
--- a/apps/dav/tests/unit/SystemTag/SystemTagPluginTest.php
+++ b/apps/dav/tests/unit/SystemTag/SystemTagPluginTest.php
@@ -573,7 +573,7 @@ class SystemTagPluginTest extends \Test\TestCase {
$request->expects($this->once())
->method('getHeader')
->with('Content-Type')
- ->willReturn('application/json');
+ ->willReturn('application/json');
$request->expects($this->once())
->method('getUrl')
@@ -647,7 +647,7 @@ class SystemTagPluginTest extends \Test\TestCase {
$request->expects($this->once())
->method('getHeader')
->with('Content-Type')
- ->willReturn('application/json');
+ ->willReturn('application/json');
$request->expects($this->once())
->method('getBaseUrl')
@@ -744,7 +744,7 @@ class SystemTagPluginTest extends \Test\TestCase {
$request->expects($this->once())
->method('getHeader')
->with('Content-Type')
- ->willReturn('application/json');
+ ->willReturn('application/json');
$this->plugin->httpPost($request, $response);
}
diff --git a/apps/dav/tests/unit/SystemTag/SystemTagsObjectMappingCollectionTest.php b/apps/dav/tests/unit/SystemTag/SystemTagsObjectMappingCollectionTest.php
index 35a81a03d31..c8482ffe77a 100644
--- a/apps/dav/tests/unit/SystemTag/SystemTagsObjectMappingCollectionTest.php
+++ b/apps/dav/tests/unit/SystemTag/SystemTagsObjectMappingCollectionTest.php
@@ -62,7 +62,7 @@ class SystemTagsObjectMappingCollectionTest extends \Test\TestCase {
}
public function getNode() {
- return new \OCA\DAV\SystemTag\SystemTagsObjectMappingCollection (
+ return new \OCA\DAV\SystemTag\SystemTagsObjectMappingCollection(
111,
'files',
$this->user,