aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Calendar/ManagerTest.php
Commit message (Collapse)AuthorAgeFilesLines
* feat(ocp): calendar event builder apifeat/ocp/meetings-api-requirementsRichard Steinmetz2025-01-061-16/+37
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* feat: add iMip Request HandlingSebastianKrupinski2024-11-071-10/+336
| | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
* refactor: Add void return type to PHPUnit test methodsChristoph Wurst2024-09-151-6/+6
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-251-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-131-19/+2
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* composer run cs:fixCôme Chilliet2023-01-201-1/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix errors in calendar tests saying function handleIMipMessage does not ↵Côme Chilliet2022-12-061-4/+11
| | | | | | exists on ICreateFromString Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix iMIP testsAnna Larch2022-09-081-16/+13
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* Fix trying to use MockBuilder instead of MockCôme Chilliet2022-09-061-6/+12
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix Calendar tests mocking a non-existant method.Côme Chilliet2022-09-051-12/+12
| | | | | | There is no ITimeFactory::getTimestamp method, only getTime Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Support iMIP invitations from MailAnna Larch2022-08-221-1/+376
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* Build instances of the calendar providers before using themChristoph Wurst2021-10-141-1/+13
| | | | | | | What we get from the registration context are only the class names. We still have to load the classes before we can use them. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add Public Calendar ProviderAnna Larch2021-10-141-10/+19
| | | | | Signed-off-by: Anna Larch <anna@nextcloud.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵Morris Jobke2020-08-121-9/+9
| | | | | | \PHPUnit\Framework\MockObject\MockObject Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* 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>
* Use the shorter phpunit syntax for mocked return valuesChristoph Wurst2020-03-251-12/+12
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Make phpunit8 compatibleRoeland Jago Douma2019-11-271-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Some php-cs fixesRoeland Jago Douma2019-11-221-2/+2
| | | | | | | | | | | * 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>
* implement CalendarManagerGeorg Ehrke2017-11-091-0/+214
Signed-off-by: Georg Ehrke <developer@georgehrke.com>