summaryrefslogtreecommitdiffstats
path: root/apps/dav/tests/unit/Comments/CommentsNodeTest.php
Commit message (Collapse)AuthorAgeFilesLines
* chore(dav): Add void return type to test methodsChristoph Wurst2023-01-201-14/+14
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix test to check the expire dateVitor Mattos2022-06-201-0/+5
| | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* Migrate dav application from ILogger to LoggerInterfaceCôme Chilliet2022-05-021-4/+4
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix affected unit testVitor Mattos2022-01-211-0/+1
| | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-1/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-161-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵Morris Jobke2020-08-121-1/+1
| | | | | | \PHPUnit\Framework\MockObject\MockObject Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-3/+5
| | | | | | | | | | | | | | | 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>
* Merge pull request #19890 from nextcloud/enh/comments-reference-idJoas Schilling2020-04-021-8/+13
|\ | | | | Add optional comments reference_id
| * Fix unit testsJoas Schilling2020-04-021-8/+13
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | 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-48/+48
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Mode to modern phpunitRoeland Jago Douma2019-11-271-24/+24
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make phpunit8 compatibleRoeland Jago Douma2019-11-271-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update license headersMorris Jobke2017-11-061-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use ::class in test mocks of dav appMorris Jobke2017-10-261-1/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use ::class in test mocksMorris Jobke2017-10-241-15/+20
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove unused use statementsMorris Jobke2017-04-221-1/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* resolve displayname via manager and registerable resolversArthur Schiwon2016-10-191-2/+21
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* move mention extraction to (I)Comment and report mentions via DAVArthur Schiwon2016-10-191-0/+15
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Fix apps/Joas Schilling2016-07-211-2/+5
|
* Fix PHPUnit 5.4 warnings in DAV appRoeland Jago Douma2016-07-151-13/+41
| | | | * getMock is deprecated
* Show error message when posting an invalid commentVincent Petry2016-06-241-1/+5
| | | | | When an internal server error occurs while creating or updating a comment, display a proper error notification in the UI.
* Update license headersLukas Reschke2016-05-261-1/+2
|
* Update DAV unit tests to PSR-4Joas Schilling2016-05-251-0/+459