mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
MDL-29478 unittest - we aren't a report anymore but one admin/tool
This commit is contained in:
parent
635c65bbd5
commit
40a8974915
@ -225,7 +225,7 @@ class moodle_page_test extends UnitTestCase {
|
||||
|
||||
public function test_pagetype_defaults_to_script() {
|
||||
// Exercise SUT and validate
|
||||
$this->assertEqual('admin-report-unittest-index', $this->testpage->pagetype);
|
||||
$this->assertEqual('admin-tool-unittest-index', $this->testpage->pagetype);
|
||||
}
|
||||
|
||||
public function test_set_pagetype() {
|
||||
@ -239,7 +239,7 @@ class moodle_page_test extends UnitTestCase {
|
||||
// Exercise SUT
|
||||
$this->testpage->initialise_default_pagetype('admin/tool/unittest/index.php');
|
||||
// Validate
|
||||
$this->assertEqual('admin-report-unittest-index', $this->testpage->pagetype);
|
||||
$this->assertEqual('admin-tool-unittest-index', $this->testpage->pagetype);
|
||||
}
|
||||
|
||||
public function test_initialise_default_pagetype_fp() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user