aboutsummaryrefslogtreecommitdiffstats
path: root/tests/Core/Command
Commit message (Collapse)AuthorAgeFilesLines
* Revert change in TwoFactorAuth CleanupTest.phpLouis Chemineau2024-03-061-6/+1
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(files_versions): Improve files version listingLouis Chemineau2024-03-061-1/+6
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* add generate-password option and flow fixesAnupam Kumar2024-02-241-40/+82
| | | | Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
* new user password email option, improved on #29368Anupam Kumar2024-02-241-27/+29
| | | | Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
* Enable adding E-Mail addresses to new user accounts using the CLIPhilip Gatzka2024-02-241-0/+126
| | | | Signed-off-by: Philip Gatzka <philip.gatzka@mailbox.org>
* lazy AppConfigMaxence Lange2024-01-152-23/+44
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-232-2/+2
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* Remove last calls to deprecated at matcher in tests/CoreCôme Chilliet2023-09-189-106/+92
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Add tests for occ user:auth-tokens:deleteLucas Azevedo2023-08-251-0/+170
| | | | Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
* Fixes testcase error.Faraz Samapoor2023-06-241-1/+6
| | | | Signed-off-by: Faraz Samapoor <fsa@adlas.at>
* fix: Adjust console formatter code to match with Symfony type hintsFerdinand Thiessen2023-04-172-0/+2
| | | | | | | Symfony has added type hints on the `OutputFormatterInterface`, so we must adjust our type hints to match with Symfony. Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
* Fix a bunch of deprecation in the phpunit for coreCarl Schwan2023-01-242-2/+2
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Fix broken user:setting command unit testJoas Schilling2023-01-231-1/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* composer run cs:fixCôme Chilliet2023-01-2020-22/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Update core to PHP 7.4 standardCarl Schwan2022-05-201-3/+3
| | | | | | | - Typed properties - Port to LoggerInterface Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* PhpunitJohn Molakvoæ2022-04-211-3/+3
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fix tests and avoid PHP errors in themCôme Chilliet2021-11-233-3/+14
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Make AppsEnableTest and AppsDisableTest independet of the app version numberDaniel Kesselberg2021-10-012-22/+22
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Fix unit testsJoas Schilling2021-09-292-16/+16
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix app version checkJoas Schilling2021-06-252-27/+17
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add commands to manage tags via OCCJohannes Leuker2021-05-254-0/+552
| | | | | | list, add, delete, edit Signed-off-by: Johannes Leuker <j.leuker@hosting.de>
* Change my email addressJohannes Leuker2021-03-241-2/+2
| | | | Signed-off-by: Johannes Leuker <j.leuker@hosting.de>
* Fix more tests in the Core subdirVincent Petry2021-03-241-1/+8
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Fix core tests command for app enabling/disablingVincent Petry2021-03-232-17/+17
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Show group backends in occ group:list --info and group:infoJohannes Leuker2021-03-012-7/+207
| | | | Signed-off-by: Johannes Leuker <j.leuker@hosting.de>
* Format code to a single space around binary operatorsChristoph Wurst2020-10-052-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵Morris Jobke2020-08-1229-114/+114
| | | | | | \PHPUnit\Framework\MockObject\MockObject Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Allow to update to nightlyJohn Molakvoæ (skjnldsv)2020-08-072-18/+18
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add tests for occ preview:migrate - initial check for empty directoriesMorris Jobke2020-08-071-0/+141
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use assertStringContainsString instead of assertContains on stringsMorris Jobke2020-07-235-16/+16
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Updated test to check for already enabled appsSander Ruitenbeek2020-04-241-0/+1
| | | | Signed-off-by: Sander Ruitenbeek <s.ruitenbeek@getgoing.nl>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-1015-33/+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>
* Use elseif instead of else ifChristoph Wurst2020-04-103-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-0910-13/+13
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use a blank line after the opening tagChristoph Wurst2020-04-092-0/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-0921-21/+0
| | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #20170 from nextcloud/techdebt/remove-unused-importsChristoph Wurst2020-03-271-3/+0
|\ | | | | Remove unused imports
| * Remove unused importsChristoph Wurst2020-03-251-3/+0
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use the shorter phpunit syntax for mocked return valuesChristoph Wurst2020-03-254-26/+26
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix CIKim Brose2020-01-031-1/+1
| | | Signed-off-by: Kim Brose <kim.brose@rwth-aachen.de>
* Fix: Using assertContains() with string haystacks is deprecated and will not ↵Daniel Kesselberg2019-12-082-8/+12
| | | | | | be supported in PHPUnit 9. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Mode to modern phpunitRoeland Jago Douma2019-11-2714-35/+38
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make phpunit8 compatibleRoeland Jago Douma2019-11-2737-37/+37
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Some php-cs fixesRoeland Jago Douma2019-11-2212-7/+11
| | | | | | | | | | | * 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>
* Add Fatal logging optionTim Terhorst2019-10-021-0/+2
| | | | Signed-off-by: Tim Terhorst <mynamewastaken+gitlab@gmail.com>
* Stop decryption when maintenance mode is enabled, fixes #8311Ruben Homs2019-05-212-8/+54
| | | | Signed-off-by: Ruben Homs <ruben@homs.codes>
* Make appstore app:enable test more robust by using only shipped appsMorris Jobke2019-03-141-3/+8
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #14066 from nextcloud/feature/noid/casted-system-valuesJoas Schilling2019-02-222-2/+2
|\ | | | | Get typed system values
| * Fix unit testsJoas Schilling2019-02-222-2/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Use contacts instead of logreaderDaniel Kesselberg2019-02-191-3/+3
| | | | | | | | | | | | Logreader is not distributed by app store because shipped by default. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>