diff --git a/src-schema/PhpunitTestCase.php b/src-schema/PhpunitTestCase.php index 2edc29e16..4139c11f7 100644 --- a/src-schema/PhpunitTestCase.php +++ b/src-schema/PhpunitTestCase.php @@ -171,7 +171,7 @@ public function getDb(array $tableNames = null, bool $noId = false): array $data2 = []; $s = $this->db->dsql(); - $data = $s->table($table)->get(); + $data = $s->table($table)->getRows(); foreach ($data as &$row) { foreach ($row as &$val) { diff --git a/src/Persistence/Sql/Query.php b/src/Persistence/Sql/Query.php index fe43bada8..297762be7 100644 --- a/src/Persistence/Sql/Query.php +++ b/src/Persistence/Sql/Query.php @@ -213,7 +213,7 @@ protected function doExecute() protected function doGet(): array { - return $this->dsql->get(); + return $this->dsql->getRows(); } protected function doGetRow(): ?array