aboutsummaryrefslogtreecommitdiffstats
path: root/apps/oauth2/tests/Controller/SettingsControllerTest.php
Commit message (Collapse)AuthorAgeFilesLines
* chore: Apply rector configuration to apps folderCôme Chilliet2024-09-201-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* refactor: Add void return type to PHPUnit test methodsChristoph Wurst2024-09-151-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* fix(oauth2): fix testsJulien Veyssier2024-09-021-3/+3
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* fix(oauth2): store hashed secret instead of encryptedJulien Veyssier2024-09-021-5/+5
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* fix: expect invalidateTokensOfUser only be called for seen usersArtur Neumann2024-08-161-1/+4
| | | | Signed-off-by: Artur Neumann <artur@jankaritech.com>
* chore: Add SPDX headerAndy Scherzinger2024-05-311-23/+2
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-231-2/+1
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* encrypt oauth2 client secretsJulien Veyssier2023-06-071-3/+14
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* move mocks into private variablesArtur Neumann2023-03-141-2/+8
| | | | Signed-off-by: Artur Neumann <artur@jankaritech.com>
* adjust SettingsController testsArtur Neumann2023-03-141-15/+5
| | | | Signed-off-by: Artur Neumann <artur@jankaritech.com>
* invalidate existing tokens when deleting an oauth clientArtur Neumann2023-03-141-5/+57
| | | | Signed-off-by: Artur Neumann <artur@jankaritech.com>
* Remove at matchers from tests in:Côme Chilliet2022-08-021-7/+4
| | | | | | | * apps/oauth2 * tests/Test/Repair/Owncloud Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* More test fixingJoas Schilling2021-12-011-9/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-2/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-241-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵Morris Jobke2020-08-121-5/+5
| | | | | | \PHPUnit\Framework\MockObject\MockObject Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* 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-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-1/+5
| | | | 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>
* Move oauth admin settings to initialstateRoeland Jago Douma2019-09-281-41/+0
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Update SettingsControllerTest.phprakekniven2018-06-301-1/+1
| | | adapted test for grammar change of URL
* Validate OAuth2 redirect uriRoeland Jago Douma2018-06-261-1/+14
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Cleanup ControllerRoeland Jago Douma2018-06-191-6/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix testsRoeland Jago Douma2018-06-191-17/+65
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add tests for OAuth2 appLukas Reschke2017-05-181-0/+139
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>