aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/IntegrityCheck/CheckerTest.php
Commit message (Collapse)AuthorAgeFilesLines
* chore(legacy): Introduce public version ct plass and drop version methods ↵clean/version-ocpJulius Knorr2024-09-201-19/+25
| | | | | | from OC_Util Signed-off-by: Julius Knorr <jus@bitgrid.net>
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-191-33/+33
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* refactor: Add void return type to PHPUnit test methodsChristoph Wurst2024-09-151-29/+29
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* fix: Replace OC_App::getAllApps with a method in AppManagerCôme Chilliet2024-09-131-2/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-251-206/+206
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-131-17/+3
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* feat(appconfig): switching integrity check to lazy config valuesMaxence Lange2024-03-111-2/+8
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Adapt tests to config value typingCôme Chilliet2023-04-051-19/+19
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* composer run cs:fixCôme Chilliet2023-01-201-17/+17
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Remove some more at matchers in tests/libCôme Chilliet2022-06-201-215/+162
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Simlify tests for integrity check on modified mimetype listsJulius Härtl2022-06-071-252/+32
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix integrity checker testsJulius Härtl2021-10-131-2/+14
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Cleanup the constructorJoas Schilling2021-01-181-2/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Readd test getOnlyDefaultAliases()ACTom2020-12-281-2/+112
| | | | Signed-off-by: ACTom <i@actom.me>
* fix php-cs check fail(tests/lib/IntegrityCheck/CheckerTest.php)ACTom2020-10-181-2/+2
| | | | Signed-off-by: ACTom <i@actom.me>
* fix Test\IntegrityCheck\CheckerTest tests failACTom2020-10-181-111/+7
| | | | Signed-off-by: ACTom <i@actom.me>
* Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵Morris Jobke2020-08-121-12/+12
| | | | | | \PHPUnit\Framework\MockObject\MockObject Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-5/+4
| | | | | | | | | | | | | | | 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>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-091-5/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix (array) indent style to always use one tabChristoph Wurst2020-04-091-261/+261
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the short array syntax, everywhereChristoph Wurst2020-03-261-4/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the shorter phpunit syntax for mocked return valuesChristoph Wurst2020-03-251-94/+94
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Mode to modern phpunitRoeland Jago Douma2019-11-271-17/+17
| | | | 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-6/+6
| | | | | | | | | | | * 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>
* Added Tests for modified mimetypelistXheni Myrtaj2019-07-041-3/+258
| | | | Signed-off-by: Xheni Myrtaj <myrtajxheni@gmail.com>
* Fix checker testXheni Myrtaj2019-05-301-2/+8
| | | | Signed-off-by: Xheni Myrtaj <myrtajxheni@gmail.com>
* Remove the upload and memory settingJoas Schilling2019-03-041-8/+6
| | | | | | | | | | * Remove unneeded private method phpFileSize() * Bump autoloader * Remove setUploadLimit tests * Remove integrity check hacks for upload limit Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove unused php5 config from .htaccessMorris Jobke2019-03-041-4/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Handle strict typing in Checker and fix testsRoeland Jago Douma2018-02-211-0/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix testsRoeland Jago Douma2017-12-181-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add proper testsLukas Reschke2016-12-191-12/+72
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Update testsVictor Dubiniuk2016-12-161-1/+18
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Make sure memory limit is > post size and upload filesizeJoas Schilling2016-09-131-6/+6
|
* Compare arrays not json stringsRoeland Jago Douma2016-09-071-6/+31
| | | | | In php 7.1 the pretty print json output changed. Thus now we compare arrays.
* Fix getMock checkertestRoeland Jago Douma2016-09-071-6/+6
|
* Move tests/ to PSR-4 (#24731)Joas Schilling2016-05-201-0/+1055
* Move a-b to PSR-4 * Move c-d to PSR-4 * Move e+g to PSR-4 * Move h-l to PSR-4 * Move m-r to PSR-4 * Move s-u to PSR-4 * Move files/ to PSR-4 * Move remaining tests to PSR-4 * Remove Test\ from old autoloader