mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge pull request #46926 from nextcloud/carddavtest-querybuilder-reuse
tests: don't reuse the query builder for multiple tables in CardDavBackendTest
This commit is contained in:
commit
f5de5a6d96
1 changed files with 5 additions and 0 deletions
|
|
@ -676,6 +676,7 @@ class CardDavBackendTest extends TestCase {
|
|||
$vCardIds[] = $query->getLastInsertId();
|
||||
}
|
||||
|
||||
$query = $this->db->getQueryBuilder();
|
||||
$query->insert($this->dbCardsPropertiesTable)
|
||||
->values(
|
||||
[
|
||||
|
|
@ -687,6 +688,7 @@ class CardDavBackendTest extends TestCase {
|
|||
]
|
||||
);
|
||||
$query->execute();
|
||||
$query = $this->db->getQueryBuilder();
|
||||
$query->insert($this->dbCardsPropertiesTable)
|
||||
->values(
|
||||
[
|
||||
|
|
@ -698,6 +700,7 @@ class CardDavBackendTest extends TestCase {
|
|||
]
|
||||
);
|
||||
$query->execute();
|
||||
$query = $this->db->getQueryBuilder();
|
||||
$query->insert($this->dbCardsPropertiesTable)
|
||||
->values(
|
||||
[
|
||||
|
|
@ -709,6 +712,7 @@ class CardDavBackendTest extends TestCase {
|
|||
]
|
||||
);
|
||||
$query->execute();
|
||||
$query = $this->db->getQueryBuilder();
|
||||
$query->insert($this->dbCardsPropertiesTable)
|
||||
->values(
|
||||
[
|
||||
|
|
@ -720,6 +724,7 @@ class CardDavBackendTest extends TestCase {
|
|||
]
|
||||
);
|
||||
$query->execute();
|
||||
$query = $this->db->getQueryBuilder();
|
||||
$query->insert($this->dbCardsPropertiesTable)
|
||||
->values(
|
||||
[
|
||||
|
|
|
|||
Loading…
Reference in a new issue