Skip to content

Commit 15ef5e7

Browse files
committed
Reset tenant per doc
1 parent 5b46bb6 commit 15ef5e7

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

src/Database/Adapter/Postgres.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,10 +406,11 @@ public function analyzeCollection(string $collection): bool
406406
* @param string $id
407407
* @param string $type
408408
* @param int $size
409+
* @param bool $signed
409410
* @param bool $array
410411
*
411412
* @return bool
412-
* @throws Exception
413+
* @throws DatabaseException
413414
*/
414415
public function createAttribute(string $collection, string $id, string $type, int $size, bool $signed = true, bool $array = false): bool
415416
{

tests/e2e/Adapter/Base.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16445,6 +16445,7 @@ public function testSharedTablesTenantPerDocument(): void
1644516445
{
1644616446
$database = static::getDatabase();
1644716447
$sharedTables = $database->getSharedTables();
16448+
$tenantPerDocument = $database->getTenantPerDocument();
1644816449
$namespace = $database->getNamespace();
1644916450
$schema = $database->getDatabase();
1645016451

@@ -16582,6 +16583,7 @@ public function testSharedTablesTenantPerDocument(): void
1658216583
// Reset instance
1658316584
$database
1658416585
->setSharedTables($sharedTables)
16586+
->setTenantPerDocument($tenantPerDocument)
1658516587
->setNamespace($namespace)
1658616588
->setDatabase($schema);
1658716589
}

0 commit comments

Comments
 (0)