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:
mark_story 2015-05-21 21:58:12 -04:00
parent 52a0d642ec
commit 4a3b2e2a03

View file

@ -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);
}