From 455551c7925be81131d1fd11a5afb2063daffd30 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Wed, 31 Jul 2024 17:36:14 +0200 Subject: [PATCH] tests: don't reuse the query builder for multiple tables in CardDavBackendTest Signed-off-by: Robin Appelman --- apps/dav/tests/unit/CardDAV/CardDavBackendTest.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/dav/tests/unit/CardDAV/CardDavBackendTest.php b/apps/dav/tests/unit/CardDAV/CardDavBackendTest.php index b8887e6f93094..0e9aed1caaf05 100644 --- a/apps/dav/tests/unit/CardDAV/CardDavBackendTest.php +++ b/apps/dav/tests/unit/CardDAV/CardDavBackendTest.php @@ -676,6 +676,7 @@ public function testSearch($pattern, $properties, $options, $expected): void { $vCardIds[] = $query->getLastInsertId(); } + $query = $this->db->getQueryBuilder(); $query->insert($this->dbCardsPropertiesTable) ->values( [ @@ -687,6 +688,7 @@ public function testSearch($pattern, $properties, $options, $expected): void { ] ); $query->execute(); + $query = $this->db->getQueryBuilder(); $query->insert($this->dbCardsPropertiesTable) ->values( [ @@ -698,6 +700,7 @@ public function testSearch($pattern, $properties, $options, $expected): void { ] ); $query->execute(); + $query = $this->db->getQueryBuilder(); $query->insert($this->dbCardsPropertiesTable) ->values( [ @@ -709,6 +712,7 @@ public function testSearch($pattern, $properties, $options, $expected): void { ] ); $query->execute(); + $query = $this->db->getQueryBuilder(); $query->insert($this->dbCardsPropertiesTable) ->values( [ @@ -720,6 +724,7 @@ public function testSearch($pattern, $properties, $options, $expected): void { ] ); $query->execute(); + $query = $this->db->getQueryBuilder(); $query->insert($this->dbCardsPropertiesTable) ->values( [