mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fix failing test in SQLite.
SQLite does not handle subqueries in virtual fields well. However, the original issue was that the generated query was invalid which find(first) will still catch.
This commit is contained in:
parent
52a0d642ec
commit
4a3b2e2a03
1 changed files with 1 additions and 1 deletions
|
@ -7864,7 +7864,7 @@ class ModelReadTest extends BaseModelTest {
|
|||
'sub_test' => $sub
|
||||
);
|
||||
|
||||
$result = $user->field('sub_test', array('id' => 1));
|
||||
$result = $user->find('first');
|
||||
$this->assertNotEmpty($result);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue