Daniel Calviño Sánchez
28f2d0ec7a
Make integration tests work with both PHP 7.3 and 7.4
...
The "Trashbin" and "WebDav" traits were using each other in a circular
dependency ("WebDav" -> "Sharing" -> "Provisioning" -> "BasicStructure"
-> "Trashbin" -> "WebDav"). In PHP 7.3 this worked fine, but in PHP 7.4
the fatal error "Trait 'WebDav' not found in .../Trashbin.php" was
thrown. To solve this now the "TrashBin" trait no longer explicitly uses
"WebDav".
However, due to this change, the class using "TrashBin" is now expected
to also use "WebDav". As the "Trashbin" trait was not needed by most
contexts using the "BasicStructure" trait "Trashbin" was removed from it
and added only to those contexts that actually need it.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-12-30 06:01:38 +01:00
Christoph Wurst
5bf3d1bb38
Update license headers
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-12-05 15:38:45 +01:00
Daniel Calviño Sánchez
1e16f7ecd9
Add integration tests for searching files by comments
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-07-25 18:53:45 +02:00
Morris Jobke
0eebff152a
Update license headers
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-11-06 16:56:19 +01:00
Joas Schilling
0215b004da
Update with robin
2016-07-21 18:13:58 +02:00
Joas Schilling
6d80efc2a4
Fix WebDav
2016-03-11 13:59:20 +01:00
Joas Schilling
957a13d879
Remove unnecessary imports
2016-03-11 13:59:19 +01:00
Joas Schilling
cdc5470f7e
Fix the use of traits
2016-03-11 13:59:19 +01:00
Sergio Bertolin
9d44576819
Restructured FeatureContext to reuse some parts and run two servers in parallel
2015-11-26 17:03:17 +01:00
Sergio Bertolin
a2938385f9
Making webdav path configurable
2015-11-20 11:26:52 +00:00
Sergio Bertolin
dd10e1d538
modified makedavrequest to return response
2015-11-20 09:17:48 +00:00
Sergio Bertolin
ee4a18a16c
added test about resharing
2015-11-19 14:17:56 +00:00
Sergio Bertolin
81e0a3ea22
Added test and logic for deleting all group shares
2015-11-19 12:45:13 +00:00
Sergio Bertolin
630ba2fd09
Added test for shared_with_me parameter
2015-11-19 12:45:12 +00:00
Sergio Bertolin
a990e0ac1d
Added some requirements for first test case
2015-11-19 12:45:12 +00:00
Joas Schilling
90b020cf88
Delete when it is a directory...
2015-11-18 12:53:36 +01:00
Joas Schilling
fbcdf17089
Fix doc blocks
2015-11-18 12:53:20 +01:00
Sergio Bertolin
eb6a13c231
Added a test including all the fields of the share update and checking output
2015-11-11 17:29:38 +00:00
Sergio Bertolin
7aeda7c99a
Added a test and logic for checking answer of public shares
2015-11-11 14:21:10 +00:00
Sergio Bertolin
7aa6e9b643
Added test to get info of a specific share id
...
Check fields of the share response
Added missing fields to check if their values are numbers
2015-11-10 16:25:34 +01:00
Sergio Bertolin
e34872141e
Added tests about getting shares of a file and a test for deleting a user from a group which doesn't exist
2015-11-06 11:57:02 +01:00
Sergio Bertolin
1a51d4c4c7
Added changes in the verification of sharing get responses
2015-11-05 09:10:46 +00:00
Sergio Bertolin
3b7690f842
added test for deleting a share
2015-11-04 13:42:14 +00:00
Sergio Bertolin
0593381522
Added general function to create shares in preconditions.
2015-11-04 12:16:00 +00:00
Sergio Bertolin
0f27b719ea
enhancements to pre and post conditions
2015-11-03 16:08:01 +00:00
Thomas Müller
fcc2a0c830
Upgrade behat to 3.0.x and use @BeforeScenario and @AfterScenario to clean up users
2015-10-29 17:10:52 +01:00
Sergio Bertolin
d11b69bfb9
added sharing feature file
...
added logic necessary for preconditions and postconditions of sharing tests
Added sharing by link tests and sharing with group
Added test which reproduces issue 19950 (adding expiration date)
refactored given and then statements to be preconditions and not operations
2015-10-29 17:10:49 +01:00
Sergio Bertolin
64ea35af05
added tests for apps
2015-10-22 13:28:48 +00:00
Sergio Bertolin
5e9dc381b4
added test for getting users of a group being subadmin
2015-10-22 12:15:51 +00:00
Sergio Bertolin
5703483e99
using canonize in assertEquals for arrays
2015-10-21 10:19:20 +00:00
Sergio Bertolin
488728a0fa
Added more tests and fixed a problem with asort which was returning false positives
2015-10-20 12:49:51 +02:00
Morris Jobke
d78f6852c7
Fix whitespace issues in integration tests
2015-10-08 16:21:31 +02:00
Sergio Bertolin
8f91426e0a
changing indentation, vertical elements and previous existance of users and groups
2015-10-07 11:09:01 +00:00
Sergio Bertolin
957d60cd0a
ordering arrays before comparing
2015-10-07 09:24:12 +00:00
Sergio Bertolin
1b0e128b44
checking users and groups
2015-10-07 09:03:00 +00:00
Sergio Bertolin
bb9f568654
lists getting ready
2015-10-06 16:37:55 +00:00
Roeland Jago Douma
b0babfc847
[Intergration] Throw error if exception not thrown
2015-10-06 10:30:31 +02:00
Sergio Bertolin
0c1a657282
restored assertions in existance of users and groups
2015-10-06 10:30:31 +02:00
Sergio Bertolin
fd709b4b49
Being explicit between http and ocs return codes
2015-10-06 10:30:31 +02:00
Sergio Bertolin
0e3836ed48
Return the actual ocs return codes and check it
2015-10-06 10:30:31 +02:00
Sergio Bertolin
186aff5dea
added some deletion logic
2015-10-06 10:30:31 +02:00
Sergio Bertolin
583c082acf
added some group logic
2015-10-06 10:30:31 +02:00
Thomas Müller
e3a98e4959
Support different server ports - defined by EXECUTOR_NUMBER
2015-09-29 13:56:56 +02:00
Thomas Müller
925aa6c0f5
Test user creation
2015-09-29 13:42:32 +02:00
Thomas Müller
cb6e1b115d
require autoload.php
2015-09-29 13:42:32 +02:00
Thomas Müller
d26aab7e05
Adding missing files
2015-09-29 13:42:32 +02:00