summaryrefslogtreecommitdiffstats
path: root/apps/dav/tests
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-11-06 09:43:45 +0100
committerMorris Jobke <hey@morrisjobke.de>2017-11-06 09:43:45 +0100
commit5445b1ff172d5186530ab0352ac35cb028127312 (patch)
tree86ef75039910b1f08eef7287ac4303871c852cbc /apps/dav/tests
parent576d31d48d1e368c0ca54a95f28dc3bc0e553d83 (diff)
downloadnextcloud-server-5445b1ff172d5186530ab0352ac35cb028127312.tar.gz
nextcloud-server-5445b1ff172d5186530ab0352ac35cb028127312.zip
Remove unused variables
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/dav/tests')
-rw-r--r--apps/dav/tests/unit/CalDAV/Search/Request/CalendarSearchReportTest.php2
-rw-r--r--apps/dav/tests/unit/CardDAV/SyncServiceTest.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/tests/unit/CalDAV/Search/Request/CalendarSearchReportTest.php b/apps/dav/tests/unit/CalDAV/Search/Request/CalendarSearchReportTest.php
index 20bac8aa9f5..cbfc2e55493 100644
--- a/apps/dav/tests/unit/CalDAV/Search/Request/CalendarSearchReportTest.php
+++ b/apps/dav/tests/unit/CalDAV/Search/Request/CalendarSearchReportTest.php
@@ -199,7 +199,7 @@ XML;
</nc:calendar-search>
XML;
- $result = $this->parse($xml);
+ $this->parse($xml);
}
/**
diff --git a/apps/dav/tests/unit/CardDAV/SyncServiceTest.php b/apps/dav/tests/unit/CardDAV/SyncServiceTest.php
index debc9238067..0c0f36d0309 100644
--- a/apps/dav/tests/unit/CardDAV/SyncServiceTest.php
+++ b/apps/dav/tests/unit/CardDAV/SyncServiceTest.php
@@ -80,7 +80,7 @@ class SyncServiceTest extends TestCase {
$logger = $this->getMockBuilder(ILogger::class)->disableOriginalConstructor()->getMock();
$accountManager = $this->getMockBuilder(AccountManager::class)->disableOriginalConstructor()->getMock();
$ss = new SyncService($backend, $userManager, $logger, $accountManager);
- $book = $ss->ensureSystemAddressBookExists('principals/users/adam', 'contacts', []);
+ $ss->ensureSystemAddressBookExists('principals/users/adam', 'contacts', []);
}
public function testUpdateAndDeleteUser() {