summaryrefslogtreecommitdiffstats
path: root/apps/updatenotification/tests
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-10-05 15:12:57 +0200
committerMorris Jobke <hey@morrisjobke.de>2020-10-05 20:25:24 +0200
commitd9015a8c94bfd71fe484618a06d276701d3bf9ff (patch)
tree3f7a1cd6ec2fd982dd02de71b76076f7f01cef70 /apps/updatenotification/tests
parentd357f4b10fe1b59e1e07bb90641d647522c7bfe2 (diff)
downloadnextcloud-server-d9015a8c94bfd71fe484618a06d276701d3bf9ff.tar.gz
nextcloud-server-d9015a8c94bfd71fe484618a06d276701d3bf9ff.zip
Format code to a single space around binary operators
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/updatenotification/tests')
-rw-r--r--apps/updatenotification/tests/UpdateCheckerTest.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/apps/updatenotification/tests/UpdateCheckerTest.php b/apps/updatenotification/tests/UpdateCheckerTest.php
index 77257decf9c..9b717fdbba4 100644
--- a/apps/updatenotification/tests/UpdateCheckerTest.php
+++ b/apps/updatenotification/tests/UpdateCheckerTest.php
@@ -57,11 +57,11 @@ class UpdateCheckerTest extends TestCase {
->willReturn([
'version' => '1.2.3',
'versionstring' => 'Nextcloud 1.2.3',
- 'web'=> 'javascript:alert(1)',
- 'url'=> 'javascript:alert(2)',
+ 'web' => 'javascript:alert(1)',
+ 'url' => 'javascript:alert(2)',
'changes' => 'javascript:alert(3)',
- 'autoupdater'=> '0',
- 'eol'=> '1',
+ 'autoupdater' => '0',
+ 'eol' => '1',
]);
$expected = [
@@ -98,11 +98,11 @@ class UpdateCheckerTest extends TestCase {
->willReturn([
'version' => '1.2.3',
'versionstring' => 'Nextcloud 1.2.3',
- 'web'=> 'https://docs.nextcloud.com/myUrl',
- 'url'=> 'https://downloads.nextcloud.org/server',
+ 'web' => 'https://docs.nextcloud.com/myUrl',
+ 'url' => 'https://downloads.nextcloud.org/server',
'changes' => 'https://updates.nextcloud.com/changelog_server/?version=123.0.0',
- 'autoupdater'=> '1',
- 'eol'=> '0',
+ 'autoupdater' => '1',
+ 'eol' => '0',
]);
$this->changesChecker->expects($this->once())