Commit Graph

37 Commits

Author SHA1 Message Date
John Molakvoæ (skjnldsv) 49d0f0c499
Fixed phpunit Test class
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-06-13 07:24:41 +02:00
Daniel Calviño Sánchez 6ee5469a03
Add integration tests for downloading basic zip files
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-04-06 15:59:31 +02:00
Daniel Calviño Sánchez 5a7986c25d
Fix use of data directory in integration tests
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>
2018-04-06 15:59:30 +02:00
Robin Appelman a815185bb4
fix redundant namespace
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-02-12 15:41:23 +01:00
Robin Appelman 359ccbc023
Adjust integration tests to new guzzle
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-02-09 17:13:30 +01:00
Robin Appelman 74b5ce8fd4
Some tests for the remote cloud api
Signed-off-by: Robin Appelman <robin@icewind.nl>
2017-12-08 16:34:33 +01:00
Morris Jobke 0eebff152a
Update license headers
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-11-06 16:56:19 +01:00
Vincent Petry d1081e7940
Add integration test for trashbin
Add test for basic deletion.
Add test when deleting from shared folder as recipient.
Add test to check that metadata stays when moving out of shared folder
as recipient.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-04-11 14:59:21 -05:00
Joas Schilling 4626514a35
Strict comparisons
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-03-20 13:13:09 -06:00
Sergio Bertolin 190ceba22f
Added functions to add files in local_storage
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-03-19 22:05:20 -06:00
Morris Jobke 4a9ce18ced Revert "Add integration test for trashbin" 2017-03-17 12:06:16 -06:00
Vincent Petry 659006c234
Add integration test for trashbin
Add test for basic deletion.
Add test when deleting from shared folder as recipient.
Add test to check that metadata stays when moving out of shared folder
as recipient.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-03-16 23:53:58 -06:00
Christoph Wurst 02359c79fd
Test remember-me login
This adds a simple integration test that ensures that remembered
login works when the session cookies vanish.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2017-01-02 11:20:22 +01:00
Sergio Bertolin 456d4fce1e
Changed data directory for work one
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-23 12:25:20 +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
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 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 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
Roeland Jago Douma 19ecacd57e
Add basic osc intergration tests 2016-09-07 13:04:21 +02:00
Sergio Bertolín 81c18f5aa7
Creating the folder when the tests run 2016-08-30 17:23:56 +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 Bertolin b154c8fa39
Removed extra context added needed option and remove storage after external storage scenarios 2016-08-30 17:23:13 +02:00
Roeland Jago Douma 77542817d1
Fix intergration tests
* Set OCS-APIREQUEST: true
* PUT requires a body
2016-08-14 18:34:07 +02:00
Roeland Jago Douma dd9f195afd
Add OCS-APIREQUEST header to intergration test calls 2016-08-05 14:17:32 +02:00
Morris Jobke 0529caee7c
Add some integration test fixes 2016-07-29 08:55:56 +02:00
Joas Schilling 0215b004da
Update with robin 2016-07-21 18:13:58 +02:00
Sergio Bertolin c6a5a43009
Added tests about overwriting files and folders as recipient 2016-05-31 10:41:38 +02:00
Christoph Wurst bfed02b038
add auth integration tests 2016-05-11 13:36:46 +02:00
Christoph Wurst aa85edd224
increase token column width
add some range to time() assertions
2016-05-11 13:36:46 +02:00
Thomas Müller 68a92d36ec Use baseUrl as provided 2016-04-12 14:42:29 +02:00
Joas Schilling f62a7b2447 Only match LOCAL and REMOTE as servers, correctly make use of the sharer server from the command 2016-03-14 10:55:52 +01:00
Joas Schilling 0f214017d2 Docs for BasicStructure 2016-03-11 13:59:19 +01:00
Joas Schilling 62b77d8ed0 API version needs to be on basic because we use it there 2016-03-11 13:59:19 +01:00
Lukas Reschke 5780ba611e Add integration test for CSRF protection on DAV
This adds the integration tests for the CSRF protection on the DAV backend introduced with 9.0.

Fixes https://github.com/owncloud/core/issues/22598
2016-02-25 17:54:27 +01:00
Sergio Bertolin b99bd7f4fc Added sabre dav in webdav, modified skeleton to have parent and child folders 2015-11-27 12:55:48 +00:00
Sergio Bertolin 9d44576819 Restructured FeatureContext to reuse some parts and run two servers in parallel 2015-11-26 17:03:17 +01:00