Skip to content

Commit 3692f31

Browse files
committed
tests: fix testCacheFallback
1 parent 42bbb57 commit 3692f31

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

tests/e2e/Adapter/Base.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17883,9 +17883,7 @@ public function testCacheFallback(): void
1788317883
$this->assertCount(1, $database->find('testRedisFallback', [Query::equal('string', ['text📝'])]));
1788417884
$this->assertFalse(($database->getDocument('testRedisFallback', 'doc1'))->isEmpty());
1788517885

17886-
// With our changes, the transaction should now succeed but cache operations will fail afterward
17887-
// Let's verify the database operations work but log exceptions from cache operations
17888-
17886+
// Check we can modify data
1788917887
try {
1789017888
$database->updateDocument('testRedisFallback', 'doc1', new Document([
1789117889
'string' => 'text📝 updated',
@@ -17910,3 +17908,4 @@ public function testCacheFallback(): void
1791017908
$this->assertCount(0, $database->find('testRedisFallback', [Query::equal('string', ['text📝'])]));
1791117909
}
1791217910
}
17911+
s

0 commit comments

Comments
 (0)