Skip to content

Commit

Permalink
the arraycache serializes the object and recreates it, same assertion…
Browse files Browse the repository at this point in the history
… is not correct
  • Loading branch information
dbu committed Nov 22, 2023
1 parent 035da49 commit 672fdc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Jackalope/Transport/DoctrineDBAL/CachedClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ public function testArrayObjectIsConvertedToArray(): void
public function testCacheHit()
{
$cache = new \stdClass();
$cache->foo = 'bar';
$this->cache->set('nodes:_/test,_tests', $cache);

$this->assertSame($cache, $this->transport->getNode('/test'));
$this->assertEquals($cache, $this->transport->getNode('/test'));
}

/**
Expand Down

0 comments on commit 672fdc8

Please sign in to comment.