summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Refactor and fixes on testsVitor Mattos2022-01-211-124/+135
| | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* Fix check after change from string to mb_stringVitor Mattos2022-01-211-2/+3
| | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* Limit the summary and sort it afterwardsJoas Schilling2022-01-211-4/+29
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Order the reaction summary, improvements on validationsVitor Mattos2022-01-211-0/+84
| | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* Disable reactions if database don't support utf8mb4Vitor Mattos2022-01-211-4/+1
| | | | | | Fix column size Signed-off-by: Vitor Mattos <vitor@php.rio>
* Skip if dont support 4 bytes UTF8Vitor Mattos2022-01-211-0/+13
| | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* Fix column size to work with Oracle. Add unit testsVitor Mattos2022-01-211-2/+9
| | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* Add unit testsVitor Mattos2022-01-211-4/+261
| | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* Prevent query error when use subqueryVitor Mattos2022-01-211-1/+8
| | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* Fix tests with email templatesCarl Schwan2022-01-182-4/+4
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Merge pull request #30508 from nextcloud/fix/psaml-binCarl Schwan2022-01-1318-126/+119
|\ | | | | Fix psalm not running
| * Check style updateCarl Schwan2022-01-1318-126/+119
| | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Merge pull request #30600 from nextcloud/fix/30595/idn-email-shareCarl Schwan2022-01-131-8/+50
|\ \ | | | | | | Fix idn emails not working in shares
| * | Add check before sending email that email address is validCarl Schwan2022-01-111-8/+50
| | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Merge pull request #30572 from nextcloud/fix/lint_warningsLouis2022-01-122-3/+3
|\ \ \ | | | | | | | | Fix lint warnings
| * | | Replace license information to SPDX expressionLouis Chemineau2022-01-112-3/+3
| | | | | | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | | Merge pull request #30588 from nextcloud/bugfix/noid/fix-unset-scopesPytal2022-01-111-1/+1
|\ \ \ \ | |_|/ / |/| | |
| * | | Fix testJoas Schilling2022-01-111-1/+1
| |/ / | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #30291 from nextcloud/image-memory-limitJoas Schilling2022-01-112-0/+17
|\ \ \ | | | | | | | | Prevent loading images that would require too much memory.
| * | | Prevent loading images that would require too much memory.Joachim Bauch2022-01-112-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For most image formats, the header specifies the width/height. PHP allocates an image object from that size, even if the actual image data is much smaller. This image object size is not limited by the limit configured in PHP. The memory limit can be configured through "config.php" setting "preview_max_memory" and defaults to 128 MBytes which should be enough for most images without filling up all memory. Signed-off-by: Joachim Bauch <bauch@struktur.de>
* | | | Streamline reseting of private static propertiesLouis Chemineau2022-01-111-2/+2
| |/ / |/| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | Revert "Streamline reseting of private static properties"Louis Chemineau2022-01-101-2/+2
| | | | | | | | | | | | This reverts commit e50121d4c05afb8eca22bc105b160283ff4181c0.
* | | Streamline reseting of private static propertiesLouis Chemineau2022-01-101-2/+2
| | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | Reset $scriptDeps in testsLouis Chemineau2022-01-081-0/+2
| | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | Adapt test to new dist file layoutLouis Chemineau2022-01-081-28/+31
| | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | Merge pull request #30378 from nextcloud/feature/accept-multiple-args-on-concatJoas Schilling2022-01-071-6/+54
|\ \ \ | | | | | | | | Accept multipe args on concat
| * | | Unit testsVitor Mattos2022-01-071-6/+54
| | | | | | | | | | | | | | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* | | | Fix email verificationChristopher Ng2022-01-061-0/+39
| |_|/ |/| | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | | Merge pull request #29921 from ↵Joas Schilling2022-01-051-0/+4
|\ \ \ | |/ / |/| | | | | | | | nextcloud/feature/noid/allow-to-count-commments-with-multiple-verbs Allow to count comments with multiple verbs
| * | Fix unit testsJoas Schilling2022-01-051-0/+4
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #30393 from ↵Joas Schilling2022-01-041-0/+143
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/feature/add-group-concat-aggregator-function Add group_concat aggregator function
| * | | Add a test with integerJoas Schilling2022-01-041-4/+90
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | Test with real dataJoas Schilling2022-01-031-7/+12
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | Add unit testVitor Mattos2022-01-031-7/+33
| | | | | | | | | | | | | | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
| * | | Add unit test and orderBy parameterVitor Mattos2022-01-031-0/+26
| | | | | | | | | | | | | | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* | | | Sort app scripts topologically by its dependenciesJonas Meurer2021-12-292-15/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement a proper topological sorting algorithm. Based on the implementation by https://github.com/marcj/topsort.php Logs an error in case a circular dependency is detected. Fixes: #30278 Signed-off-by: Jonas Meurer <jonas@freesources.org>
* | | | Pass username prefill through unauthenticated request redirectsJulius Härtl2021-12-291-0/+2
|/ / / | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Merge pull request #29879 from ↵Julius Härtl2021-12-211-0/+3
|\ \ \ | | | | | | | | | | | | nextcloud/bugfix/noid/sharing-enumeration-addressbooks
| * | | Add integration tests for email completionJulius Härtl2021-12-081-0/+3
| | |/ | |/| | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Improve unit testing for Util::addScript() and Util::getScript()Jonas Meurer2021-12-201-5/+53
| | | | | | | | | | | | | | | | | | | | | | | | Instead of checking for a predefined order of the scripts, test the logic: core first, dependencies before their children, no duplicates and all scripts still listed. Signed-off-by: Jonas Meurer <jonas@freesources.org>
* | | Avoid Deprecation warning from Zip tests on PHP 8.1Côme Chilliet2021-12-161-1/+1
| | | | | | | | | | | | | | | | | | It is not allowed anymore to open an empty file as a new zip archive. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Fix PHP deprecation warning in File/ViewTestCôme Chilliet2021-12-161-1/+4
|/ / | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Adapt testsJohn Molakvoæ (skjnldsv)2021-12-021-10/+15
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Merge pull request #29735 from nextcloud/background-scan-one-by-oneRobin Appelman2021-12-021-20/+0
|\ \ | | | | | | find users for background scan one by one
| * | fix testsRobin Appelman2021-12-021-20/+0
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Remove unused importsJoas Schilling2021-12-021-2/+0
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Fix last testsJoas Schilling2021-12-021-3/+3
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | More test fixingJoas Schilling2021-12-012-4/+0
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | More test fixingJoas Schilling2021-12-012-235/+6
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | More unit test adjustmentsJoas Schilling2021-12-015-881/+3
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>