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:
@@ -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')) {
|
||||
|
||||
Reference in New Issue
Block a user