Skip to content

Commit

Permalink
rename class and file according to spec. (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
semteacher committed Jan 5, 2025
1 parent 5a10cbe commit 5afa457
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tests/base_tests.php → tests/base_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@
use local_wunderbyte_table\filters\types\standardfilter;
use moodle_exception;

defined('MOODLE_INTERNAL') || die();
global $CFG;

/**
* Test base functionality of wunderbyte_table
*
Expand All @@ -46,7 +43,7 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*
*/
final class base_tests extends advanced_testcase {
final class base_test extends advanced_testcase {
/**
* Tests set up.
*/
Expand Down Expand Up @@ -124,8 +121,6 @@ public function test_query_db_cached(): void {
);

$this->assertEquals($nrofrows, 3);

// throw new moodle_exception('x', 'x', '', json_encode($table->rawdata));
}

/**
Expand Down Expand Up @@ -173,6 +168,7 @@ public function create_demo2_table() {
* Create a defined number of testcourses.
*
* @param int $coursestocreate
* @param array $options
* @return array
*
*/
Expand Down

0 comments on commit 5afa457

Please sign in to comment.