Skip to content

Commit 1533981

Browse files
committed
fix unit test
1 parent 1d2de09 commit 1533981

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

app/code/Magento/PageCache/Test/Unit/Model/App/Request/Http/IdentifierForSaveTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,12 @@ public function testGetValueWithQuery(): void
161161
->method('getVaryString')
162162
->willReturn(self::VARY);
163163

164+
$this->identifierStoreReader->method('getPageTagsWithStoreCacheTags')->willReturnCallback(
165+
function ($value) {
166+
return $value;
167+
}
168+
);
169+
164170
$this->assertEquals(
165171
sha1(
166172
json_encode(

0 commit comments

Comments
 (0)