mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
mod-feedback MDL-20254 Upgrade feedback module to make use of new navigation blocks
At the same time I also took the oppertunity to fix up the bugs within the feedback module that were making it un-usable
This commit is contained in:
parent
5f4d4d801c
commit
ab5bd34d18
12 changed files with 88 additions and 33 deletions
|
@ -725,6 +725,8 @@ class limited_global_navigation_test extends UnitTestCase {
|
|||
}
|
||||
|
||||
$node2 = clone($this->mocknode);
|
||||
$fakecontext = new stdClass;
|
||||
$this->cache->coursecontext2 = $fakecontext;
|
||||
$node2->initialise(navigation_node::TYPE_CATEGORY, 2);
|
||||
$this->assertIsA($node2->get('initcall'), 'navigation_node');
|
||||
if ($node2->get('initcall')) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue