MDL-77607 core_component: Fix wrong component for the grade api
commitef936717eee2c6b8fa313021040d41a8b633150b
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Mon, 13 Mar 2023 08:30:35 +0000 (13 09:30 +0100)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Fri, 17 Mar 2023 18:27:14 +0000 (17 19:27 +0100)
tree9672d77c024f9b3c451d2bc31952a0def557e5fa
parentf3bf17cdfbee0377f5a09fcbbcce7c0367bbe58b
MDL-77607 core_component: Fix wrong component for the grade api

The correct component (subsystem) for the "grade" API is
"core_grades" not "core_grade".

Let's fix that and cover it with tests.
lib/apis.json
lib/tests/component_test.php