Skip to content

Commit 6d26eee

Browse files
committed
Remove invalid test
1 parent 4486a49 commit 6d26eee

File tree

1 file changed

+0
-34
lines changed

1 file changed

+0
-34
lines changed

tests/e2e/Adapter/Scopes/DocumentTests.php

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -4047,38 +4047,4 @@ public function testEmptyOperatorValues(): void
40474047
$this->assertEquals('Invalid query: Contains queries require at least one value.', $e->getMessage());
40484048
}
40494049
}
4050-
4051-
public function testCrossTenantDuplicateId(): void
4052-
{
4053-
$db = static::getDatabase();
4054-
if (!$db->getAdapter()->getSharedTables()) {
4055-
$this->expectNotToPerformAssertions();
4056-
return;
4057-
}
4058-
4059-
$db->createCollection(__FUNCTION__);
4060-
$db->createAttribute(__FUNCTION__, 'v', Database::VAR_STRING, 64, true);
4061-
4062-
// tenant A
4063-
$db->withTenant(1, fn () => $db->createDocument(
4064-
__FUNCTION__,
4065-
new Document([
4066-
'$id' => 'x',
4067-
'v' => 'A'
4068-
])
4069-
));
4070-
// tenant B
4071-
$db->withTenant(2, fn () => $db->createDocument(
4072-
__FUNCTION__,
4073-
new Document([
4074-
'$id' => 'x',
4075-
'v' => 'B'
4076-
])
4077-
));
4078-
4079-
$this->assertEquals('A', $db->withTenant(1, fn () =>
4080-
$db->getDocument(__FUNCTION__, 'x')->getAttribute('v')));
4081-
$this->assertEquals('B', $db->withTenant(2, fn () =>
4082-
$db->getDocument(__FUNCTION__, 'x')->getAttribute('v')));
4083-
}
40844050
}

0 commit comments

Comments
 (0)