* refactor given and when steps in webdavproperties context
* change the status code in tests as the when step sets the response now
* correct the status code check
* only save response
* use getResponseXml to get xml response object
* fix isEtagValid method
* rename step def methods
* make stricter checks
---------
Co-authored-by: Saw-jan <saw.jan.grg3e@gmail.com>
refactor given and when steps in ocs and webdav locking context
use the returned response
use of returned response from helper function
made changes to the affected test steps
deleted vardump line
* use default config for OCDAV_ALLOW_PROPFIND_DEPTH_INFINITY
* remove unnecessary steps
* use default propfind depth infinity value
* use correct step to check the resources
* use correct step to check the resources
* cover depth:infinity enabled test cases
* fix steps
* fix scenario steps
* update expected failure list
* add depth infinity test suite to ci
* update existing tests only
* remove test with depth:infinity
- Use var for common errors
- Add the addition error message to the Error() output of errorcode.Error
- in PatchEducationSchool() use errorcode.RenderError() to turn the errorcode
in to the right HTTP Status (instead of return 500 always)
(cherry picked from commit a34d467285)
An LDAP Modify operation never returns LDAPResultEntryAlreadyExists errors.
That error can only happen for LDAPAdd or LDAPModifyDN.
(cherry picked from commit ce808eaa17)
The config variable was accidently removed when cleaning up deprecated variables
for the 4.0.0 release
Fixes: #7312
(cherry picked from commit 7b9200ff5d)
For some reason LDAP_BIND_PASSWORD was forgotten when all the other global LDAP_
variables got renamed.
Also marks LDAP_BIND_PASSWORD and LDAP_USER_SCHEMA_ID_IS_OCTETSTRING for removal with 5.0.0
Partial: #7176
(cherry picked from commit 8f284e7c2b)
making helper function, checking and setting response in given step and when steo respectively
returning response and using in given/then steps as required in favoritesContext
set the returned response on SpaceContext
changed to inline variable in some lines as required
to check for the specific https response code
migrating set response from helper function to when step in preview feature
separate single when/then steps by converting to helper function
use of httpstatuscode check function in given step and rebased
change function name
remove use of setresponse in then step
set the returned response
* refactored the user creation given statement from provisioning to graph api
added getUser steps that covers the steps for user with user light role
* added userlight step tests to check drive information and updated expected failure files
* added usercreation initiation code
* deleted seperate tests for user light role
* remove unnecesary changes
* add user not initialize step
* corrected the testcode
* moved the steps from graph to provisioning file
* fix creating single ldap user
* fix: user check method
* initialize user via graph
* addressing reviews
---------
Co-authored-by: Saw-jan <saw.jan.grg3e@gmail.com>
removing setting response in the given steps
use response interface
use the returned response
check success response
changed to inline variable
changed variable response_xml to responseXml