summaryrefslogtreecommitdiffstats
path: root/apps/dav/tests/unit/Migration
Commit message (Collapse)AuthorAgeFilesLines
* Migrate dav application from ILogger to LoggerInterfaceCôme Chilliet2022-05-021-3/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Add repair job to delete calendar subscriptions that were orphaned whenThomas Citharel2021-09-041-0/+169
| | | | | | | | deleteding an user Follow-up to https://github.com/nextcloud/server/pull/28419 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-043-6/+5
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Rewrite birthday calendar tests without $this->at()François Freitag2021-05-311-3/+3
| | | | | | | | | | | | Removes warnings: ``` The at() matcher has been deprecated. It will be removed in PHPUnit 10. Please refactor your test to not rely on the order in which methods are invoked. ``` Signed-off-by: François Freitag <mail@franek.fr>
* Fix DAV unit testsJoas Schilling2021-04-201-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6) OCA\DAV\Tests\Unit\DAV\Controller\InvitationResponseControllerTest::testAccept Trying to configure method "fetch" which cannot be configured because it does not exist, has not been specified, is final, or is static 7) OCA\DAV\Tests\Unit\DAV\Controller\InvitationResponseControllerTest::testAcceptSequence Trying to configure method "fetch" which cannot be configured because it does not exist, has not been specified, is final, or is static 8) OCA\DAV\Tests\Unit\DAV\Controller\InvitationResponseControllerTest::testAcceptRecurrenceId Trying to configure method "fetch" which cannot be configured because it does not exist, has not been specified, is final, or is static 9) OCA\DAV\Tests\Unit\DAV\Controller\InvitationResponseControllerTest::testAcceptTokenNotFound Trying to configure method "fetch" which cannot be configured because it does not exist, has not been specified, is final, or is static 10) OCA\DAV\Tests\Unit\DAV\Controller\InvitationResponseControllerTest::testAcceptExpiredToken Trying to configure method "fetch" which cannot be configured because it does not exist, has not been specified, is final, or is static 11) OCA\DAV\Tests\Unit\DAV\Controller\InvitationResponseControllerTest::testDecline Trying to configure method "fetch" which cannot be configured because it does not exist, has not been specified, is final, or is static 12) OCA\DAV\Tests\Unit\DAV\Controller\InvitationResponseControllerTest::testProcessMoreOptionsResult Trying to configure method "fetch" which cannot be configured because it does not exist, has not been specified, is final, or is static 13) OCA\DAV\Tests\unit\CalDAV\CalendarTest::testConfidentialClassification with data set #0 (3, false) No method rule is set 14) OCA\DAV\Tests\unit\DAV\Migration\RefreshWebcalJobRegistrarTest::testRun Trying to configure method "fetch" which cannot be configured because it does not exist, has not been specified, is final, or is static Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-243-0/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵Morris Jobke2020-08-123-13/+13
| | | | | | \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-103-4/+1
| | | | | | | | | | | | | | | 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>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-311-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the shorter phpunit syntax for mocked return valuesChristoph Wurst2020-03-251-14/+14
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-053-15/+21
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Mode to modern phpunitRoeland Jago Douma2019-11-271-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make phpunit8 compatibleRoeland Jago Douma2019-11-273-3/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Some php-cs fixesRoeland Jago Douma2019-11-221-0/+1
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Don't run repair step for every individual user, outsource that to ↵Georg Ehrke2019-05-231-44/+7
| | | | | | background job Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* remove obsolete use statementsArthur Schiwon2019-04-241-3/+3
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Add Repair step to regenerate birthday calendarGeorg Ehrke2019-02-161-0/+137
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* cache webcal calendars on serverGeorg Ehrke2018-11-071-0/+146
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Update license headersMorris Jobke2017-11-061-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Directly fix the valuesJoas Schilling2017-03-263-317/+251
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add DAV repair step to fix calendar dataRoeland Jago Douma2016-11-242-0/+317
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Remove 9.1 migration steps in app dav (#25654)Thomas Müller2016-11-221-65/+0
|
* Better displaynames for shared calendarsJoas Schilling2016-08-241-11/+0
|
* Fix apps/Joas Schilling2016-07-211-1/+2
|
* Added unit testing for the migration stepThomas Müller2016-06-091-0/+75