Fixed test case

This commit is contained in:
Tigran Gabrielyan 2012-09-18 00:46:06 -07:00
parent f1a344eee4
commit d30e092966

View file

@ -1454,11 +1454,11 @@ TEXT;
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);
}
}