mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fixed test case
This commit is contained in:
parent
f1a344eee4
commit
d30e092966
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue