Commit Graph

480 Commits

Author SHA1 Message Date
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 6e5aae2608 added a couple of tests 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 ac478b1910 added edit user test 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 7c63a6baa6 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
Sergio Bertolin 2d1f509acf added delete user test 2015-09-29 13:42:32 +02:00
Thomas Müller 933121c66f Use ci profile 2015-09-29 13:42:32 +02:00
Thomas Müller db0a8aa795 Use fixed port for now 2015-09-29 13:42:32 +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 6749071667 Adding phpunit for the assertions 2015-09-29 13:42:32 +02:00
Thomas Müller d26aab7e05 Adding missing files 2015-09-29 13:42:32 +02:00
Thomas Müller 631303c1e7 First integration tests for provisioning api 2015-09-29 13:42:32 +02:00