Skip to content

Commit a9eb069

Browse files
LuisParada7Julian-Tovar
authored andcommitted
INT-20447: Fix class name test
1 parent dab096a commit a9eb069

17 files changed

+18
-18
lines changed

tests/backup_hsuforum_activity_test.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
* @copyright 2016 Andrew Nicols <[email protected]>
4141
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
4242
*/
43-
class mod_hsuforum_backup_hsuforum_activity_task_testcase extends advanced_testcase {
43+
class backup_hsuforum_activity_test extends advanced_testcase {
4444

4545
/**
4646
* Test the encoding of forum content links.

tests/events_test.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
* @copyright 2014 Dan Poltawski <[email protected]>
3434
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
3535
*/
36-
class mod_hsuforum_events_testcase extends advanced_testcase {
36+
class events_test extends advanced_testcase {
3737

3838
/**
3939
* Tests set up.

tests/form_service_test.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
//
1414
// You should have received a copy of the GNU General Public License
1515
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
16-
16+
1717
/**
1818
* Testing form service prepare draft area
1919
*
@@ -27,7 +27,7 @@ public function protected_file_prepare_draft_area(&$draftitemid, $contextid, $co
2727
}
2828
}
2929

30-
class mod_hsuforum_form_service_testcase extends advanced_testcase {
30+
class form_service_test extends advanced_testcase {
3131
public function test_prepare_draft_area() {
3232
global $DB, $CFG, $USER;
3333

tests/generator_test.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
* @copyright 2012 Petr Skoda {@link http://skodak.org}
3535
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
3636
*/
37-
class mod_hsuforum_generator_testcase extends advanced_testcase {
37+
class generator_test extends advanced_testcase {
3838
public function test_generator() {
3939
global $DB;
4040

tests/generator_trait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
defined('MOODLE_INTERNAL') || die();
2626

27-
trait mod_hsuforum_tests_generator_trait {
27+
trait generator_trait {
2828

2929
/**
3030
* Helper to create the required number of users in the specified course.

tests/grades_gradeitems_test.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
* @copyright 2020 Open LMS
4040
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
4141
*/
42-
class gradeitems_test extends advanced_testcase
42+
class grades_gradeitems_test extends advanced_testcase
4343
{
4444

4545
/**

tests/helper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
*
3131
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
3232
*/
33-
trait helper_hsuforums {
33+
trait helper {
3434

3535
/**
3636
* Helper to create the required number of users in the specified

tests/lib_test.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
require_once($CFG->dirroot . '/mod/hsuforum/mod_form.php');
3434
require_once($CFG->dirroot . '/course/modlib.php');
3535

36-
class mod_hsuforum_lib_testcase extends advanced_testcase {
36+
class lib_test extends advanced_testcase {
3737

3838
public function test_hsuforum_trigger_content_uploaded_event() {
3939
$this->resetAfterTest();

tests/mail_test.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
global $CFG;
2929

30-
class mod_hsuforum_mail_testcase extends advanced_testcase {
30+
class mail_test extends advanced_testcase {
3131

3232
protected $helper;
3333

tests/maildigest_test.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
global $CFG;
2929

30-
class mod_hsuforum_maildigest_testcase extends advanced_testcase {
30+
class maildigest_test extends advanced_testcase {
3131

3232
/**
3333
* Keep track of the message and mail sinks that we set up for each

0 commit comments

Comments
 (0)