Commit Graph

178 Commits

Author SHA1 Message Date
Paul Brodner
663b38b671 Merge branch 'TAS-925' of gitlab.alfresco.com:tas/alfresco-tas-restapi-test
# Conflicts:
#	src/test/java/org/alfresco/rest/GetSitesTests.java
#	src/test/java/org/alfresco/rest/comments/GetCommentsSanityTests.java
#	src/test/java/org/alfresco/rest/demo/RestDemoTests.java
#	src/test/java/org/alfresco/rest/sites/AddSiteMembershipRequestSanityTests.java
#	src/test/java/org/alfresco/rest/sites/GetSiteSanityTests.java
#	src/test/java/org/alfresco/rest/sites/GetSitesSanityTests.java
2016-09-29 15:40:42 +03:00
Paul Brodner
176ebbdcd6 refactor based on latest conventions 2016-09-29 15:26:44 +03:00
Paul Brodner
06cfc21283 Merge branch 'TAS-704' into 'master'
Tas 704

See merge request !22
2016-09-29 13:23:10 +01:00
Paul Brodner
5d34578370 using only models 2016-09-29 15:22:08 +03:00
Paul Brodner
d0c617ffb6 Merge branch 'TAS-714' into 'master'
Tas 714

See merge request !29
2016-09-29 13:18:19 +01:00
Paul Brodner
ec707ff138 Merge branch 'TAS-713' of gitlab.alfresco.com:tas/alfresco-tas-restapi-test
# Conflicts:
#	src/test/resources/sanity-rest.xml
2016-09-29 15:15:21 +03:00
Paul Brodner
44b810bffa using only models as parameters
adding ListUserWithRoles (removing HashMaps)
update sanity-rest
2016-09-29 14:56:54 +03:00
Iulia Nechita
d7d9c0cb6e TAS-991 getSiteMembers call returns status code 401 with Manager role 2016-09-29 14:18:43 +03:00
Iulia Nechita
86bb625037 TAS-990 getSiteMembers with admin user 2016-09-29 14:15:23 +03:00
Iulia Nechita
2d41ab7972 TAS-989 getSiteMembers with Consumer role 2016-09-29 14:14:33 +03:00
Iulia Nechita
ba5ccbbb67 TAS-988 getSiteMembers with Contributor role 2016-09-29 14:12:36 +03:00
Iulia Nechita
6d552a4bc4 TAS-987 getSiteMembers with Collaborator role 2016-09-29 14:11:47 +03:00
Iulia Nechita
0924ba9829 TAS-986 getSiteMembers with Manager Role 2016-09-29 14:10:49 +03:00
Cristina Axinte
29dd7b433a TAS-976 created test: fail getPerson call test with Manager role 2016-09-29 12:45:11 +03:00
Cristina Axinte
598cbccca2 TAS-975 created test: getPerson call test with admin user 2016-09-29 12:44:15 +03:00
Cristina Axinte
5745ef3b60 TAS-974 created test: getPerson call test with Consumer role 2016-09-29 12:43:27 +03:00
Cristina Axinte
2bce4ccc43 TAS-973 created test: getPerson call test with Contributor role 2016-09-29 12:42:41 +03:00
Cristina Axinte
26763e1d35 TAS-972 created test: getPerson call test with Collaborator role 2016-09-29 12:41:46 +03:00
Cristina Axinte
d694685631 TAS-971 created test: getPerson call test with Manager role 2016-09-29 12:40:15 +03:00
Valentin Popa
98a784f2d2 TAS-970 REST API - failed authentication for remove site member call returns status code 401 2016-09-29 11:47:37 +03:00
Cristina Axinte
2614ebaf0c Spliting datapreparation for each test 2016-09-29 11:45:30 +03:00
Valentin Popa
e6cd9c7058 TAS-969 REST API - valid remove site member request returns success status code 204 with admin user 2016-09-29 11:38:33 +03:00
Valentin Popa
ca21198ef5 TAS-968 REST API - valid remove site member request returns status code 403 with Consumer role 2016-09-29 11:33:18 +03:00
Valentin Popa
3910d6df81 TAS-967 REST API - valid request returns status code 403 with Contributor role 2016-09-29 11:30:05 +03:00
cnechifor
45edd29f46 moved assertResponseIsNotEmpty and removed the duplication 2016-09-29 11:29:46 +03:00
Valentin Popa
76955b5361 TAS-966 REST API - valid delete site member request returns success status code 403 with Collaborator role 2016-09-29 11:24:47 +03:00
Valentin Popa
680b7fee83 TAS-965 REST API - valid delete site member request returns success status code 204 with Manager role 2016-09-29 10:45:17 +03:00
Cristina Jalba
93309b75ac TAS-964 manager gets status code 401 if authentication fails 2016-09-29 10:28:18 +03:00
Paul Brodner
2810e995d7 Merge branch 'TAS-727' into 'master'
Tas 727

Work under https://issues.alfresco.com/jira/browse/TAS-727

See merge request !21
2016-09-29 08:25:26 +01:00
Cristina Jalba
135a26ca57 TAS-962 consumer can't delete comment created by admin 2016-09-29 10:19:49 +03:00
Cristina Jalba
1bac95bec7 TAS-961 contributor can't delete comment created by admin 2016-09-29 10:16:48 +03:00
Cristina Jalba
a7d6b996ed TAS-960 Collaborator doesn't have permission to delete comment created by other user 2016-09-29 10:12:56 +03:00
Cristina Jalba
2a13d867d2 TAS-959 deleteComment with Manager 2016-09-29 10:00:14 +03:00
Cristina Jalba
61e7c9cd32 TAS-963 deleteComment with admin 2016-09-29 09:48:07 +03:00
Iulia Nechita
9ddd0a76ca TAS-939 getSiteContainers status code 401 with Manager role 2016-09-28 16:48:17 +03:00
Iulia Nechita
dfe87d4352 TAS-938 getSiteContainers with admin user 2016-09-28 16:46:39 +03:00
Iulia Nechita
078f04dfd8 TAS-937 getSiteContainers with Consumer role 2016-09-28 16:45:58 +03:00
Iulia Nechita
404d8fc55d TAS-936 getSiteContainers with Contributor role 2016-09-28 16:44:41 +03:00
Iulia Nechita
b705ff908a TAS-935 getSiteContainers with Collaborator role 2016-09-28 16:43:22 +03:00
Iulia Nechita
8c5c6bc0a6 TAS-934 getSiteContainers with Manager role 2016-09-28 16:42:02 +03:00
Cristina Axinte
28d29d9225 Added createTenant method to use it in dataPreparation of tests and updated dataPreparation accordingly 2016-09-28 16:32:29 +03:00
Cristina Jalba
c1b62b6929 Formatting the code 2016-09-28 16:07:10 +03:00
Cristina Jalba
a65db3e70b TAS-927 updateComment with Collaborator 2016-09-28 15:46:11 +03:00
Cristina Jalba
c7091d7f2a TAS-933 status 404 if commentId does not exist 2016-09-28 15:44:51 +03:00
Cristina Jalba
3d6f93d235 TAS-932 status 404 if nodeId doesn not exist 2016-09-28 15:43:59 +03:00
Cristina Jalba
5db79de2f5 TAS-931 failed authentication call returns status code 401 with Manager role 2016-09-28 15:37:42 +03:00
Valentin Popa
2ab9812299 TAS-917 - REST API - failed authentication call returns status code 401 2016-09-28 15:32:02 +03:00
Valentin Popa
0b5f85bee2 Merge branch 'TAS-925' of https://gitlab.alfresco.com/tas/alfresco-tas-restapi-test into TAS-925 2016-09-28 15:21:25 +03:00
Valentin Popa
ea16b55f5b Fix response handling in case of failure, add some small fixes 2016-09-28 13:54:14 +03:00
Cristina Jalba
cffdbe4a4e TAS-929 updateComment with Consumer 2016-09-28 13:45:02 +03:00