summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Brahmer <info@b-brahmer.de>2020-11-03 21:13:48 +0100
committerBenjamin Brahmer <info@b-brahmer.de>2020-11-03 21:23:04 +0100
commitab149a7870281d4ed02806575734424849db755c (patch)
tree244c94f48f7319adfd592f7af153cef260428010
parentbecb23641923d3ce2dcb478f8943ad4b267e2c28 (diff)
fix unittest
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
-rw-r--r--composer.lock5
-rw-r--r--tests/Unit/Controller/FeedApiControllerTest.php4
2 files changed, 7 insertions, 2 deletions
diff --git a/composer.lock b/composer.lock
index eca2d7166..7c9837f5e 100644
--- a/composer.lock
+++ b/composer.lock
@@ -441,6 +441,11 @@
"phpcs",
"standards"
],
+ "support": {
+ "issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues",
+ "source": "https://github.com/squizlabs/PHP_CodeSniffer",
+ "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki"
+ },
"time": "2020-10-23T02:01:07+00:00"
}
],
diff --git a/tests/Unit/Controller/FeedApiControllerTest.php b/tests/Unit/Controller/FeedApiControllerTest.php
index 1dbac6f42..c87a9ff6c 100644
--- a/tests/Unit/Controller/FeedApiControllerTest.php
+++ b/tests/Unit/Controller/FeedApiControllerTest.php
@@ -149,8 +149,8 @@ class FeedApiControllerTest extends TestCase
$this->feedService->expects($this->once())
->method('delete')
->with(
- $this->equalTo(2),
- $this->equalTo($this->user->getUID())
+ $this->equalTo($this->user->getUID()),
+ $this->equalTo(2)
);
$this->feedAPI->delete(2);