Skip to content

Commit

Permalink
MDL-76839 mod_data: correct external test class coverage notation.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulholden committed Jan 10, 2023
1 parent b8b905c commit 1bf87e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mod/data/tests/externallib_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
* @copyright 2015 Juan Leyva <[email protected]>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @since Moodle 2.9
* @coversDefaultClass \mod_data_external
*/
class externallib_test extends externallib_advanced_testcase {

Expand Down Expand Up @@ -1192,7 +1193,7 @@ public function test_add_entry_invalid_group() {
/**
* Test add_entry for an empty database (no fields).
*
* @covers \mod_data\mod_data_external::add_entry
* @covers ::add_entry
*/
public function test_add_entry_empty_database() {
$this->expectException('moodle_exception');
Expand Down

0 comments on commit 1bf87e8

Please sign in to comment.