mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +00:00
Fix failing test, find('first') now returns empty array when no record was found
This commit is contained in:
parent
a0665feac4
commit
39dcb80b45
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ class AclShellTest extends CakeTestCase {
|
||||||
|
|
||||||
$Aro = ClassRegistry::init('Aro');
|
$Aro = ClassRegistry::init('Aro');
|
||||||
$result = $Aro->findById(3);
|
$result = $Aro->findById(3);
|
||||||
$this->assertFalse($result);
|
$this->assertEmpty($result);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue