summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #8472 from nextcloud/strict_integritycheckRoeland Jago Douma2018-02-221-0/+3
|\ | | | | Make OC\IntegrityCheck strict
| * 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 Douma2018-02-212-12/+18
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #8206 from ↵blizzz2018-02-202-3/+3
|\ | | | | | | | | nextcloud/bugfix/noid/fix-collaboration-result-size Better result handling of email search
| * Better result handling of email searchJoas Schilling2018-02-202-3/+3
| | | | | | | | | | | | | | 1. Local users should not be returned when searching for empty string 2. The limit of the response should be respected Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #8336 from nextcloud/cleanup-unused-parameterRoeland Jago Douma2018-02-202-21/+1
|\ \ | | | | | | Cleanup unused parameter
| * | Remove config from AutoCompleteControllerMorris Jobke2018-02-131-7/+1
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | Remove crypto and timefactory from UsersControllerMorris Jobke2018-02-131-14/+0
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Use a proper wait for create of the containerRoeland Jago Douma2018-02-191-2/+27
| | | | | | | | | | | | | | | | | | * Also create a test file so we know for sure it all works Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | use more precise method for waiting for swiftRobin Appelman2018-02-191-3/+29
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | fix controller testRobin Appelman2018-02-191-3/+3
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #8411 from nextcloud/add-strict-types-to-oc_appMorris Jobke2018-02-171-13/+0
|\ \ \ | | | | | | | | Add strict types to OC_App
| * | | Fix app version to be always string and neither array nor nullMorris Jobke2018-02-171-13/+0
| | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | Merge pull request #8232 from ↵Morris Jobke2018-02-1610-52/+70
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | nextcloud/bugfix/8007/validate-appinfo-against-appstore-schema Validate appinfo against appstore schema
| * | | | App manager is not needed anymoreJoas Schilling2018-02-161-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | | Validate the info.xml against the appstore schema fileJoas Schilling2018-02-1610-52/+70
| |/ / / | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Take into account the comment message when looking for itDaniel Calviño Sánchez2018-02-152-24/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of checking that the list contains one comment it is now checked that a comment with certain message is visible. This makes the step (and the locator) more reusable in future tests and also simplifies the code. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | | Adjust timeouts in the step to create a new commentDaniel Calviño Sánchez2018-02-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Depending on the previous steps the new comment field may be already shown or not when the step to create a new comment is executed. Therefore, the timeout was increased from 2 to the "standard" 10 seconds used in other tests. If the new comment field was found there is no need to use a timeout when looking for the new comment button; it is either there or not, it will not appear after some time. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | | Move locators above step definitionsDaniel Calviño Sánchez2018-02-151-21/+26
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | The locators are moved above the step definitions for consistency with other context files; besides that I made some minor adjustments for consistency too in the locator descriptions and identation, and moved the locators for ".newCommentRow" descendants together. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | Merge pull request #8095 from nextcloud/webapps-capabilitiesMorris Jobke2018-02-152-7/+136
|\ \ \ | | | | | | | | Expose navigation entries as API endpoint
| * | | Also rewrite icon urlJulius Härtl2018-02-121-4/+19
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | | Move to OCS endpointJulius Härtl2018-02-121-5/+5
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | | Allow requesting absolute URLsJulius Härtl2018-02-121-6/+43
| | | | | | | | | | | | | | | | | | | | | | | | They might be useful when requesting the navigation from the clients Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | | Add tests for NavigationControllerJulius Härtl2018-02-121-0/+77
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | | Make sure we test the proper order in the NavigationManagerTestJulius Härtl2018-02-121-7/+7
| |/ / | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Merge pull request #8259 from nextcloud/guzzle6Morris Jobke2018-02-144-48/+37
|\ \ \ | |/ / |/| | update guzzlehttp/guzzle to 6.3.0
| * | adjust httpclient to guzzle6Robin Appelman2018-02-094-48/+37
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #8263 from nextcloud/fix_dev_man_linkMorris Jobke2018-02-081-3/+22
|\ \ \ | | | | | | | | Link to NC 14 dev manual
| * | | Link to NC 14 dev manualRoeland Jago Douma2018-02-081-3/+22
| |/ / | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | sleep moreRobin Appelman2018-02-081-1/+1
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | add ci for swift primary storageRobin Appelman2018-02-083-0/+29
|/ / | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #8033 from nextcloud/s3-uploaderMorris Jobke2018-02-081-5/+12
|\ \ | |/ |/| Use S3Client::upload instead of splitting single/multipart upload ourselves
| * Use S3Client::upload instead of splitting single/multipart upload ourselvesRobin Appelman2018-01-241-5/+12
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Fix testsRoeland Jago Douma2018-02-031-0/+4
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Move depsCache clearing to SCSSCacher/JSCombinerJulius Härtl2018-02-033-16/+42
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Add tests and class mappingJulius Härtl2018-02-031-0/+94
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Add all parameters to returnValueMapJulius Härtl2018-01-311-2/+2
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #8096 from ↵Roeland Jago Douma2018-01-312-240/+5
|\ \ | | | | | | | | | | | | nextcloud/feature/6382/do-not-cache-settings-in-db-anymore Do not cache the settings/sections in the database anymore
| * | Do not cache the settings/sections in the database anymoreJoas Schilling2018-01-292-240/+5
| | | | | | | | | | | | | | | | | | | | | This caused more troubles then it had benefits, especially when an app got disabled or was removed without being disabled. Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #8078 from nextcloud/theming-validate-scssMorris Jobke2018-01-291-4/+14
|\ \ \ | |/ / |/| | SCSS hardening
| * | Add tests for URL rewritingJulius Härtl2018-01-261-4/+14
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Update testsRoeland Jago Douma2018-01-291-8/+20
|/ / | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #7916 from nextcloud/2fa_logMorris Jobke2018-01-253-4/+13
|\ \ | | | | | | Add 2FA to logfile
| * | Add testsRoeland Jago Douma2018-01-252-0/+2
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | Fix testsRoeland Jago Douma2018-01-251-4/+11
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #8036 from nextcloud/phpunit6Roeland Jago Douma2018-01-2539-131/+115
|\ \ \ | |/ / |/| | Require PHPUnit 6.5 or higher
| * | Class "ProgressBar" is declared "final" and cannot be mocked.Joas Schilling2018-01-251-2/+5
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Fix risky tests without assertionsJoas Schilling2018-01-2524-30/+59
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Fix "Undefined method setExpectedException()"Joas Schilling2018-01-2413-42/+37
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Require PHPUnit 6.5 or higherJoas Schilling2018-01-244-57/+14
| |/ | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>