This commit is contained in:
Andrew Nicols 2023-06-12 10:26:34 +08:00
commit 6d706408f2
No known key found for this signature in database
GPG key ID: 6D1E3157C8CFBF14

View file

@ -34,7 +34,7 @@ require_once($CFG->dirroot . '/webservice/tests/helpers.php');
* Unit tests for xAPI delete state webservice. * Unit tests for xAPI delete state webservice.
* *
* @package core_xapi * @package core_xapi
* @covers \core_xapi\external\post_state * @covers \core_xapi\external\delete_state
* @since Moodle 4.2 * @since Moodle 4.2
* @copyright 2023 Sara Arjona (sara@moodle.com) * @copyright 2023 Sara Arjona (sara@moodle.com)
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
@ -205,7 +205,7 @@ class delete_state_test extends externallib_advanced_testcase {
* function to check the results. * function to check the results.
* *
* @param string $component component name * @param string $component component name
* @param state $data data to encode and send to post_state * @param state $data data to encode and send to delete_state
* @param string $expected expected results (if null an exception is expected) * @param string $expected expected results (if null an exception is expected)
*/ */
private function delete_state_data(string $component, state $data, ?string $expected): void { private function delete_state_data(string $component, state $data, ?string $expected): void {