aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/IntegrityCheck
Commit message (Collapse)AuthorAgeFilesLines
* chore: Add SPDX headerAndy Scherzinger2024-05-221-1/+2
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-135-85/+13
| | | | 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-275-33/+33
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make phpunit8 compatibleRoeland Jago Douma2019-11-275-6/+6
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Some php-cs fixesRoeland Jago Douma2019-11-223-7/+8
| | | | | | | | | | | * 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>
* Exclude .rnd files from integrity checkDaniel Kesselberg2019-07-211-0/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* 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>
* Use more precise regexDaniel Kesselberg2019-02-141-2/+2
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Apply code style fixes from owncloud, revert regexDaniel Kesselberg2019-02-141-25/+27
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Fix test caseRomain Rivière2019-02-141-2/+2
| | | | Signed-off-by: Romain Rivière <lecoyote@lecoyote.org>
* Exclude file name patterns; ignore gentoo webapp filesRomain Rivière2019-02-141-0/+92
| | | | Signed-off-by: Romain Rivière <lecoyote@lecoyote.org>
* Handle strict typing in Checker and fix testsRoeland Jago Douma2018-02-211-0/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix risky tests without assertionsJoas Schilling2018-01-251-0/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix testsRoeland Jago Douma2017-12-181-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add proper testsLukas Reschke2016-12-192-12/+97
| | | | 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-204-0/+1192
* 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