Skip to content
Permalink
Browse files

Fixed test case

  • Loading branch information...
tigrang committed Sep 18, 2012
1 parent f1a344e commit d30e092966c3349346629ade3ac633f389160f81
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Cake/Test/Case/View/ViewTest.php
@@ -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.
You can’t perform that action at this time.