Skip to content

Commit bcd26a8

Browse files
committed
fixed unit test issues
1 parent fb9d864 commit bcd26a8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Meta/Conversion/Test/Unit/Observer/AddToCartTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ public function testAddToCartEventCreated()
100100
$this->request->method('getParam')->willReturn($sku);
101101
$this->magentoDataHelper->method('getProductBySku')->willReturn($product);
102102
$this->magentoDataHelper->method('getProductById')->willReturn($product);
103+
$this->escaper->method('escapeUrl')->with(['Earphones'])->willReturn('Earphones');
103104

104105
$observer = new Observer(['eventId' => $eventId]);
105106

0 commit comments

Comments
 (0)