Preconditions:
----------------------------------
1. Site admin user exists
2. Web services is configured as follows
--- a. Allow outgoing web service requests: Yes
--- b. Accept incoming web service requests: Yes
3. Enable protocols supported as a web services provider:
--- a. XML-RPC: Yes
--- b. REST: Yes
--- c. OAuth: Yes
4. Network service group has been set up
5. Access tokens and allocated users to service groups have been set up
a. Token = 84f1a3b6ca3553b6ccec28f6c74306e1 for
6. Service group = "Some service group"
Test Steps:
----------------------------------
1. Log in as Site admin
2. Browse to Admin menu > Web services > Test client
3. Set the following fields to
--- a. Protocol = Rest
--- b. Authentication type = Token
--- c. Service = "Some service group"
--- d. Functions = "mahara_group_get_groups_by_id"
4. Click the next button
5. Verify that the following fields are displayed
--- a. id
--- b. shortname
--- c. Institution
--- d. wstoken
6. Do not fill anything in the fields and click Execute button
Expected result: Error messages are displayed and fields are highlighted
Actual result: After clicking the next button no fields were displayed and I received an error message
[WAR] 05 (lib/errors.php:535) [PieformException]: Could not find rule "oneof"
Call stack (most recent first):
exception(object(PieformException)) at Unknown:0
Environment tested: Master
Browser tested: Chrome
Preconditions: ------- ------- ------- ------ 6ccec28f6c74306 e1 for
-------
1. Site admin user exists
2. Web services is configured as follows
--- a. Allow outgoing web service requests: Yes
--- b. Accept incoming web service requests: Yes
3. Enable protocols supported as a web services provider:
--- a. XML-RPC: Yes
--- b. REST: Yes
--- c. OAuth: Yes
4. Network service group has been set up
5. Access tokens and allocated users to service groups have been set up
a. Token = 84f1a3b6ca3553b
6. Service group = "Some service group"
Test Steps: ------- ------- ------- ------ group_get_ groups_ by_id"
-------
1. Log in as Site admin
2. Browse to Admin menu > Web services > Test client
3. Set the following fields to
--- a. Protocol = Rest
--- b. Authentication type = Token
--- c. Service = "Some service group"
--- d. Functions = "mahara_
4. Click the next button
5. Verify that the following fields are displayed
--- a. id
--- b. shortname
--- c. Institution
--- d. wstoken
6. Do not fill anything in the fields and click Execute button
Expected result: Error messages are displayed and fields are highlighted
Actual result: After clicking the next button no fields were displayed and I received an error message
[WAR] 05 (lib/errors. php:535) [PieformException]: Could not find rule "oneof"
Call stack (most recent first): object( PieformExceptio n)) at Unknown:0
exception(
Catalyst QA Failed Testing ✘