summaryrefslogtreecommitdiffstats
path: root/apps/dav/tests/unit/CardDAV/SyncServiceTest.php
Commit message (Collapse)AuthorAgeFilesLines
* Migrate dav application from ILogger to LoggerInterfaceCôme Chilliet2022-05-021-4/+4
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-2/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix CS checkRoeland Jago Douma2021-05-121-2/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* remove private AccountManager from SyncServiceArthur Schiwon2021-05-111-45/+13
| | | | | | and fix test Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Map old account scope properties to new namesVincent Petry2021-03-261-7/+7
| | | | | | | | Use new scope values in settings page. Adjust all consumers to use the new constants. Map old scope values to new ones in account property getter. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Make code strictJoas Schilling2020-12-071-7/+8
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵Morris Jobke2020-08-121-7/+7
| | | | | | \PHPUnit\Framework\MockObject\MockObject Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headers for 19Christoph Wurst2020-04-291-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-1/+0
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix (array) indent style to always use one tabChristoph Wurst2020-04-091-35/+35
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-311-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-1/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix SynserviceTestRoeland Jago Douma2019-11-271-0/+4
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Test sync service when user is deactivatedThomas Citharel2018-08-061-5/+21
| | | | | | I feel like this could probably be handled better :/ Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Remove users from system addressbook when user deactivatedThomas Citharel2018-08-061-0/+1
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Merge pull request #7075 from nextcloud/remove-unused-variablesRoeland Jago Douma2017-11-071-1/+1
|\ | | | | Remove unused variables
| * Remove unused variablesMorris Jobke2017-11-061-1/+1
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Update license headersMorris Jobke2017-11-061-1/+2
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use ::class in test mocksMorris Jobke2017-10-241-10/+11
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* adjust existing testsBjoern Schiessle2017-04-111-4/+4
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* fix testsBjoern Schiessle2017-03-241-1/+2
| | | | | | calling getAbsoluteBundlePath() in the constructor makes other tests fail Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* don't add empty values to the vcardBjoern Schiessle2017-03-241-37/+37
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* update unit testsBjoern Schiessle2016-11-211-4/+46
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Update sabre dav to 3.2 (#26115)Thomas Müller2016-11-041-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | * Update sabre/dav to 3.2.0 * Adjust code to work with sabre/dav 3.2.0 and it's dependencies * Adding own CalDAV plugin to fix calendar home property * Test if there is a user logged in when listing files home * Update sabre version used by integration tests * Disable unauthenticated DAV access This is needed to make Sabre 3.2 behave like we did before. Eventually we should integrate better with the ACL plugin which itself should implement an auth failure when appropriate. ===== * Fixed so cherry-pick was succesfull Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix apps/Joas Schilling2016-07-211-2/+4
|
* Fix PHPUnit 5.4 warnings in DAV appRoeland Jago Douma2016-07-151-1/+4
| | | | * getMock is deprecated
* Update license headersLukas Reschke2016-05-261-1/+2
|
* Update DAV unit tests to PSR-4Joas Schilling2016-05-251-0/+145