aboutsummaryrefslogtreecommitdiffstats
path: root/tests/Core/Controller/NavigationControllerTest.php
Commit message (Collapse)AuthorAgeFilesLines
* fix: Add etag tests to NavigationControllerTestfix/52278/remove-unused-etag-checkMarcel Müller2025-04-301-0/+32
| | | | Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
* fix: Remove unneccesary etag checkMarcel Müller2025-04-291-31/+0
| | | | Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
* fix(phpunit): Remove some more withConsecutive callstechdebt/noid/prepare-phpunit10Joas Schilling2025-03-311-17/+13
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* refactor: Add void return type to PHPUnit test methodsChristoph Wurst2024-09-151-4/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* chore: Add SPDX headerAndy Scherzinger2024-05-131-19/+2
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* Fix a bunch of deprecation in the phpunit for coreCarl Schwan2023-01-241-14/+15
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* composer run cs:fixCôme Chilliet2023-01-201-1/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵Morris Jobke2020-08-121-3/+3
| | | | | | \PHPUnit\Framework\MockObject\MockObject Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-7/+3
| | | | | | | | | | | | | | | 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>
* 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-271-1/+1
| | | | 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>
* Fix app navigation controller to return an arrayJulius Härtl2018-07-251-2/+2
| | | | | | This is required to not break compatibility with existing consumers of that endpoint like the apps management or the client Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix testsJulius Härtl2018-03-071-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Replace logout href to avoid new etag on every requestJulius Härtl2018-03-061-3/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add ETag to NavigationControllerJulius Härtl2018-03-051-0/+31
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Also rewrite icon urlJulius Härtl2018-02-121-4/+19
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Move to OCS endpointJulius Härtl2018-02-121-5/+5
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Allow requesting absolute URLsJulius Härtl2018-02-121-6/+43
| | | | | | They might be useful when requesting the navigation from the clients Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add tests for NavigationControllerJulius Härtl2018-02-121-0/+77
Signed-off-by: Julius Härtl <jus@bitgrid.net>