Skip to content

Commit 0d95a66

Browse files
committed
resetMetadata
1 parent 82a602a commit 0d95a66

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

tests/e2e/Adapter/Scopes/CollectionTests.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1671,8 +1671,6 @@ public function testTransformations(): void
16711671
'name' => 'value1',
16721672
]));
16731673

1674-
$originalMetadata = $database->getMetadata();
1675-
16761674
$database->setMetadata('scope', 'api.users');
16771675

16781676
$capturedSql = '';
@@ -1692,9 +1690,6 @@ public function testTransformations(): void
16921690

16931691
$database->before(Database::EVENT_DOCUMENT_READ, 'test', null);
16941692
$database->resetMetadata();
1695-
foreach ($originalMetadata as $key => $value) {
1696-
$database->setMetadata($key, $value);
1697-
}
16981693
}
16991694

17001695
public function testSetGlobalCollection(): void

0 commit comments

Comments
 (0)