Skip to content

Commit

Permalink
Fixed test case
Browse files Browse the repository at this point in the history
  • Loading branch information
tigrang committed Sep 18, 2012
1 parent f1a344e commit d30e092
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Cake/Test/Case/View/ViewTest.php
Expand Up @@ -1454,11 +1454,11 @@ public function testMemoryLeakInPaths() {
public function testBlockDefaultValue() {
$default = 'Default';
$result = $this->View->fetch('title', $default);
$this->assertEqual($result, $default);
$this->assertEquals($default, $result);

$expected = 'My Title';
$this->View->assign('title', $expected);
$result = $this->View->fetch('title', $default);
$this->assertEqual($result, $expected);
$this->assertEquals($expected, $result);
}
}

0 comments on commit d30e092

Please sign in to comment.