summaryrefslogtreecommitdiffstats
path: root/build/integration
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #10663 from ↵Morris Jobke2018-08-201-1/+1
|\ | | | | | | | | nextcloud/dependabot/composer/build/integration/behat/behat-approx-3.5.0 Update behat/behat requirement from ~3.3.0 to ~3.5.0 in /build/integration
| * Update behat/behat requirement from ~3.3.0 to ~3.5.0 in /build/integrationdependabot[bot]2018-08-131-1/+1
| | | | | | | | | | | | | | | | Updates the requirements on [behat/behat](https://github.com/Behat/Behat) to permit the latest version. - [Release notes](https://github.com/Behat/Behat/releases) - [Changelog](https://github.com/Behat/Behat/blob/master/CHANGELOG.md) - [Commits](https://github.com/Behat/Behat/commits/v3.5.0) Signed-off-by: dependabot[bot] <support@dependabot.com>
* | don't add new LDAP configs if one is already presentArthur Schiwon2018-08-122-2/+8
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | improve fail info and disable cache for a caseArthur Schiwon2018-08-122-1/+2
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Phpunit changed, use proper Assert classArthur Schiwon2018-08-121-7/+7
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | tests for user storage locationArthur Schiwon2018-08-103-11/+44
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | convert pagination testsArthur Schiwon2018-08-093-21/+83
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | convert connection testsArthur Schiwon2018-08-092-0/+31
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | fix prov testsArthur Schiwon2018-08-091-0/+1
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | simplify tests and move some out to a new feature as we need a pristineArthur Schiwon2018-08-092-27/+23
| | | | | | | | | | | | database for them Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | integration test to ensure entries without displayname don't cause troubleArthur Schiwon2018-08-092-12/+22
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | login does not save the responseArthur Schiwon2018-08-091-0/+1
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | convert LDAP offline and backup server integration testsArthur Schiwon2018-08-092-0/+40
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | integration test checking the group filterArthur Schiwon2018-08-092-0/+74
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | check user detailsArthur Schiwon2018-08-092-2/+29
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | behat integration tests for LDAP, basic setupArthur Schiwon2018-08-093-1/+36
|/ | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Add integration test for creating room shares when Talk is not enabledDaniel Calviño Sánchez2018-08-082-0/+36
| | | | | | | | The test just ensures that the controller will gracefully reject the creation instead of failing miserably; the integration tests when Talk is enabled are in the Talk repository. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Add integration tests for searching files by commentsDaniel Calviño Sánchez2018-07-253-0/+357
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Fix transfering ownership of a share to user with same id as receiverDaniel Calviño Sánchez2018-07-241-0/+13
| | | | | | | | | When the ownership of a user share is transfered to the receiver the share is removed, as the receiver now owns the original file. However, due to a missing condition, any share with a group, link or remote with the same id as the user was removed, not only the user shares. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* add some integration testsBjoern Schiessle2018-07-112-0/+121
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Fix the behat version to 3.3.*Joas Schilling2018-07-091-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix integration tests for Federation 2.0Morris Jobke2018-07-041-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Extend integration tests to get the info of a group share as a shareeDaniel Calviño Sánchez2018-06-291-0/+73
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Check all paths for own files and sharesDaniel Calviño Sánchez2018-06-281-1/+7
| | | | | | | | Add "PARENT (2)" and its subdirectories to the paths to be checked, as before only the own "PARENT" folder was being checked, but not the shared one. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Fix filenames in sharing integration testsDaniel Calviño Sánchez2018-06-281-3/+3
| | | | | | | | | | | | | When a file is shared and the receiver of the share already has a file with the same name that file is left untouched, and "(2)" is appended to the name of the shared file. As "textfile0.txt" is included in the user folder skeleton all the users in the integration test have that file, so when it is shared the receiver sees the share as "/textfile0 (2).txt", and her own file as "/textfile0.txt". Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Fix integration testsJohn Molakvoæ (skjnldsv)2018-06-251-0/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fixed phpunit Test classJohn Molakvoæ (skjnldsv)2018-06-1311-70/+81
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Update phpunit/phpunit requirement to ~6.5 in /build/integrationdependabot[bot]2018-06-131-1/+1
| | | | | | | | Updates the requirements on [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) to permit the latest version. - [Release notes](https://github.com/sebastianbergmann/phpunit/releases) - [Changelog](https://github.com/sebastianbergmann/phpunit/blob/master/ChangeLog-6.5.md) - [Commits](https://github.com/sebastianbergmann/phpunit/commits/6.5.8) Signed-off-by: dependabot[bot] <support@dependabot.com>
* Update guzzlehttp/guzzle requirement to 6.3.3 in /build/integrationdependabot[bot]2018-05-301-1/+1
| | | | | | | | Updates the requirements on [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) to permit the latest version. - [Release notes](https://github.com/guzzle/guzzle/releases) - [Changelog](https://github.com/guzzle/guzzle/blob/master/CHANGELOG.md) - [Commits](https://github.com/guzzle/guzzle/commits/6.3.3) Signed-off-by: dependabot[bot] <support@dependabot.com>
* Update sabre/dav requirement to 3.2.2 in /build/integrationdependabot[bot]2018-05-301-1/+1
| | | | | | | | Updates the requirements on [sabre/dav](https://github.com/sabre-io/dav) to permit the latest version. - [Release notes](https://github.com/sabre-io/dav/releases) - [Changelog](https://github.com/sabre-io/dav/blob/master/CHANGELOG.md) - [Commits](https://github.com/sabre-io/dav/commits/3.2.2) Signed-off-by: dependabot[bot] <support@dependabot.com>
* Return proper boolean user enabled state apiJohn Molakvoæ (skjnldsv)2018-04-161-2/+4
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Make possible to provide "--tags=XXX" parameter to BehatDaniel Calviño Sánchez2018-04-061-1/+7
| | | | | | | "--tags=XXX" limits the features or scenarios to be run to those matching the tag filter expression. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Add integration tests for zip32/zip64 boundaries of number of filesDaniel Calviño Sánchez2018-04-062-0/+162
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Add integration tests for downloading basic zip filesDaniel Calviño Sánchez2018-04-063-0/+288
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Fix use of data directory in integration testsDaniel Calviño Sánchez2018-04-061-2/+23
| | | | | | | | The data directory is not necessarily located at "../..". The proper directory is now got by running "php console.php config:system:get datadirectory". Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Fixed testsJohn Molakvoæ (skjnldsv)2018-04-051-2/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #8355 from nextcloud/fix-comments-num-indexMorris Jobke2018-02-262-9/+9
|\ | | | | Fix comments (and systemtags) when involving users with numerical ids
| * tests for systemtags related to numeric user idsArthur Schiwon2018-02-141-3/+3
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * test creating comments with numeric user idsArthur Schiwon2018-02-141-6/+6
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | fix redundant namespaceRobin Appelman2018-02-121-1/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Adjust integration tests to new guzzleRobin Appelman2018-02-0917-350/+322
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add integration tests for length header on new chunkingThomas Müller2017-12-152-0/+37
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Some tests for the remote cloud apiRobin Appelman2017-12-084-1/+201
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Federation actually sends an email via Share 2.0Morris Jobke2017-11-271-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #7047 from ↵Björn Schießle2017-11-201-6/+6
|\ | | | | | | | | nextcloud/add-support-for-files-with-no-permissions Add support for files with no permissions
| * Return whether the file is readable or not in the DAV permissionsDaniel Calviño Sánchez2017-11-021-6/+6
| | | | | | | | | | | | | | | | | | | | Until now it was safe to assume that every file was readable by its owner, so there was no need to return whether the file was readable or not. However, with the introduction of end to end encryption that is no longer the case, and it is now necessary to explicitly provide that information. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Change @georgehrke's emailMorris Jobke2017-11-061-0/+1
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Update license headersMorris Jobke2017-11-0621-17/+58
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Prevent sending second WWW-Authenticate headerLukas Reschke2017-06-131-2/+2
| | | | | | | | Overrides \Sabre\DAV\Auth\Backend\AbstractBearer::challenge to prevent sending a second WWW-Authenticate header which is standard-compliant but most DAV clients simply fail hard. Fixes https://github.com/nextcloud/server/issues/5088 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Bearer comes first on the new endpointLukas Reschke2017-05-181-1/+1
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>