summaryrefslogtreecommitdiffstats
path: root/apps/federation/tests
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2017-07-28 15:49:46 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2017-08-01 10:07:53 +0200
commit3ffff08819365e6a38e0c7d381343f59bc2fc89c (patch)
treed93beb701a44e197334bca9d8a2c7b4fb54b925d /apps/federation/tests
parent80c08e8fd0b1d604d333e4bd38b229ce1ae579b9 (diff)
downloadnextcloud-server-3ffff08819365e6a38e0c7d381343f59bc2fc89c.tar.gz
nextcloud-server-3ffff08819365e6a38e0c7d381343f59bc2fc89c.zip
we don't need to remove the job manually here, even if we ask once more the other server will decline and the background job will be removed
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'apps/federation/tests')
-rw-r--r--apps/federation/tests/Controller/OCSAuthAPIControllerTest.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/federation/tests/Controller/OCSAuthAPIControllerTest.php b/apps/federation/tests/Controller/OCSAuthAPIControllerTest.php
index 41bfd70bfc5..d0529583309 100644
--- a/apps/federation/tests/Controller/OCSAuthAPIControllerTest.php
+++ b/apps/federation/tests/Controller/OCSAuthAPIControllerTest.php
@@ -114,8 +114,6 @@ class OCSAuthAPIControllerTest extends TestCase {
if ($ok) {
$this->jobList->expects($this->once())->method('add')
->with('OCA\Federation\BackgroundJob\GetSharedSecret', ['url' => $url, 'token' => $token, 'created' => $this->currentTime]);
- $this->jobList->expects($this->once())->method('remove')
- ->with('OCA\Federation\BackgroundJob\RequestSharedSecret', ['url' => $url, 'token' => $localToken]);
} else {
$this->jobList->expects($this->never())->method('add');
$this->jobList->expects($this->never())->method('remove');