Skip to content

Commit e056de5

Browse files
authored
Merge pull request #7321 from dype35/patch-6
Update testing.rst
2 parents d1dbd7e + f0f6e4f commit e056de5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fr/development/testing.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,7 @@ maintenant à ceci::
863863
{
864864
$query = $this->Articles->find('published')->all();
865865
$this->assertInstanceOf('Cake\ORM\Query', $query);
866-
$result = $query->hydrate(false)->toArray();
866+
$result = $query->enableHydration(false)->toArray();
867867
$expected = [
868868
['id' => 1, 'title' => 'First Article'],
869869
['id' => 2, 'title' => 'Second Article'],

0 commit comments

Comments
 (0)