Skip to content
Browse files

navigation MDL-26570 branchid was renamed to key in previous fixes, u…

…nit tests updated to reflect this
  • Loading branch information...
1 parent 56babbc commit c755c87437fd080f833705cc537dfb094a6072c2 Sam Hemelryk committed Mar 18, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/simpletest/testnavigationlib.php
View
8 lib/simpletest/testnavigationlib.php
@@ -167,10 +167,10 @@ public function test_find_expandable() {
$this->node->find_expandable($expandable);
$this->assertEqual(count($expandable), 4);
if (count($expandable) === 4) {
- $name = $expandable[0]['branchid'];
- $name .= $expandable[1]['branchid'];
- $name .= $expandable[2]['branchid'];
- $name .= $expandable[3]['branchid'];
+ $name = $expandable[0]['key'];
+ $name .= $expandable[1]['key'];
+ $name .= $expandable[2]['key'];
+ $name .= $expandable[3]['key'];
$this->assertEqual($name, 'demo1demo2demo4hiddendemo2');
}
}

0 comments on commit c755c87

Please sign in to comment.
Something went wrong with that request. Please try again.