Commit Graph

311 Commits

Author SHA1 Message Date
Roeland Jago Douma
b27b690fa9 Add intergration test
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-11-14 13:54:25 +01:00
Roeland Jago Douma
6a75296ccb Merge pull request #1792 from nextcloud/bump_sabre
Bump sabre
2016-11-09 13:06:52 +01:00
Roeland Jago Douma
a8329947b4 Bump jstests deps
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-11-08 12:13:32 +01:00
Thomas Müller
c778b1bade Update sabre dav to 3.2 (#26115)
* Update sabre/dav to 3.2.0

* Adjust code to work with sabre/dav 3.2.0 and it's dependencies

* Adding own CalDAV plugin to fix calendar home property

* Test if there is a user logged in when listing files home

* Update sabre version used by integration tests

* Disable unauthenticated DAV access

This is needed to make Sabre 3.2 behave like we did before.
Eventually we should integrate better with the ACL plugin which itself
should implement an auth failure when appropriate.

=====

* Fixed so cherry-pick was succesfull

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-11-04 13:35:10 +01:00
Roeland Jago Douma
d5665eb93b Add sleep function
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-11-04 11:20:33 +01:00
Roeland Jago Douma
bcd7a9a034 Fix tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-11-04 08:44:35 +01:00
Morris Jobke
db65bc6fff Remove unneeded behat method
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2016-11-02 22:51:13 +01:00
Sergio Bertolin
a642a40f3f Adapted favorites and dav2 features
Adapted sharing and external features, random failures in sharing:857

Added weddav related feature

Removed forgotten leftovers
2016-11-02 22:49:44 +01:00
Lukas Reschke
88199f1cc1 Add .htaccess checker as CI step
Don't want anyone to commit invalid changes in that file again 🙈

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-11-02 20:11:30 +01:00
Morris Jobke
ffebc050d0 Merge pull request #1887 from nextcloud/downstream-26370
Added functions to check etag of elements - integration tests
2016-11-02 14:57:45 +01:00
Roeland Jago Douma
ea786a35a6 Fix intergration tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-11-02 08:49:58 +01:00
Sergio Bertolin
3135d3a7b2 Added test case about issue 26346 2016-11-02 08:49:58 +01:00
Sergio Bertolin
7d9e031abe Changed description of variable 2016-11-02 08:49:58 +01:00
Sergio Bertolin
a3c3ec9dd7 Added functions to check etag of elements 2016-11-02 08:49:57 +01:00
Bjoern Schiessle
6d7520b1e2 unit tests updated and new added
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2016-11-01 19:54:41 +01:00
Morris Jobke
8dcef4fb59 remove unneeded steps
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2016-10-21 10:03:48 +02:00
Sergio Bertolín
0417cbafd0 Changed request to not add a prefix to the url (#26256)
* Changed request to not add a prefix to the url

* Expecting forbidden instead of service unavailable

* Handling login exceptions
2016-10-20 17:21:08 +02:00
Sergio Bertolin
f1c313b8bd Added test for 26182 2016-10-10 13:48:14 +02:00
Sergio Bertolín
01393592eb Adding type parameter because behat cannot ignore it
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-10-06 13:57:58 +02:00
Sergio Bertolín
7744cb5240 Orphaned shares test and some requirements
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-10-06 13:57:54 +02:00
Sergio Bertolin
09a90b4000 User was incorrect
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-10-05 08:19:43 +02:00
Sergio Bertolín
d81f4ea53c Modifications to avoid old dav path
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-10-05 08:19:43 +02:00
Sergio Bertolin
88b0af4211 Added failing tests
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-10-05 08:19:43 +02:00
Roeland Jago Douma
554d0c58c3 Fix size
Nextcloud has a letter (byte) more than ownCloud. So update test
2016-10-02 21:18:20 +02:00
Sergio Bertolin
e011065a08 Added quota calculation test when a file is recieved
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-10-02 21:16:50 +02:00
Sergio Bertolin
7413e2a88c Added test checking quota after usage
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-10-02 21:16:49 +02:00
Joas Schilling
a1e4b17ff4 Remove unused endpoint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-09-30 10:21:08 +02:00
Lukas Reschke
b85b6abda8 Add codecov
Allows coverage tracking using codecov

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-09-28 21:08:17 +02:00
Lukas Reschke
3e843fcd82 Merge pull request #1538 from nextcloud/fix-integration-test-to-use-a-valid-url
Fix integration test to use a valid URL
2016-09-27 12:35:55 +02:00
Joas Schilling
eb8886851f Fix integration test to use a valid URL
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-09-27 12:00:02 +02:00
Lukas Reschke
6a490106bc Read repo name dynamically
This way apps can easily use this as well

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-09-26 21:20:01 +02:00
Lukas Reschke
0e74aaefe7 Rely solely on GitHub API output
This doesn't download the whole git repository again which saves roughly 90 seconds in execution time on the test.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-09-22 11:40:00 +02:00
Lukas Reschke
f9a4bb94f6 Add checker for signed off commits
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-09-22 09:08:21 +02:00
Roeland Jago Douma
e392f669c0 Make OCS intergration tests check for CSP
* Very hacky in simple test but at least we test
2016-09-15 13:11:36 +02:00
Thomas Müller
aa10231027 $this->blackListedClassNames is unknown 2016-09-07 22:09:08 +02:00
Roeland Jago Douma
19ecacd57e Add basic osc intergration tests 2016-09-07 13:04:21 +02:00
Roeland Jago Douma
581a83c2a1 Fix AppTest and intergration test 2016-09-05 09:42:58 +02:00
Lukas Reschke
84c742b95e Use "testing" instead of "user_ldap" as test app 2016-08-31 10:40:17 +02:00
Sergio Bertolín
81c18f5aa7 Creating the folder when the tests run 2016-08-30 17:23:56 +02:00
Sergio Bertolín
86cfcde5e9 Changed enabled/disabled app in provisioning api tests 2016-08-30 17:23:49 +02:00
Sergio Bertolín
7106129baa External storage was not enabled and content was not deleted before scenarios 2016-08-30 17:23:26 +02:00
Sergio Bertolín
3a5d29fb59 Added local_storage folder 2016-08-30 17:23:22 +02:00
Sergio Bertolin
b7b0f4780c Run as current user 2016-08-30 17:23:18 +02:00
Sergio Bertolin
b154c8fa39 Removed extra context added needed option and remove storage after external storage scenarios 2016-08-30 17:23:13 +02:00
Sergio Bertolin
85f00e2c01 Added feature and context, not working yet, option to allow sharing needs to be added 2016-08-30 17:23:08 +02:00
Sergio Bertolin
f72fea8d0e Modified run.sh to mount a local storage 2016-08-30 17:23:04 +02:00
Sergio Bertolin
c16b15d52e Added integration test 2016-08-29 14:13:26 +02:00
Joas Schilling
28c8469ade Make sure to also detect their new copy right line
Ref owncloud/core#25518
2016-08-18 10:59:59 +02:00
Lukas Reschke
7cd4874112 Merge pull request #895 from nextcloud/autoloader_checker
Autoloader checker
2016-08-17 16:27:14 +02:00
Joas Schilling
027069cbae Merge pull request #846 from nextcloud/provisioning_api_ocs
Move Provisioning API to the AppFramework
2016-08-17 10:23:13 +02:00