mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Merge branch 'w47_MDL-36701_m24_composer' of git://github.com/skodak/moodle
This commit is contained in:
commit
020e338dee
6 changed files with 61 additions and 30 deletions
|
@ -187,7 +187,10 @@ class moodle_page_test extends advanced_testcase {
|
|||
}
|
||||
|
||||
public function test_pagetype_defaults_to_script() {
|
||||
global $SCRIPT;
|
||||
// Exercise SUT and validate
|
||||
$SCRIPT = '/index.php';
|
||||
$this->testpage->initialise_default_pagetype();
|
||||
$this->assertEquals('site-index', $this->testpage->pagetype);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue