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:
samhemelryk 2009-09-11 02:04:38 +00:00
parent 5f4d4d801c
commit ab5bd34d18
12 changed files with 88 additions and 33 deletions

View file

@ -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')) {