Skip to content

Commit ce13ee8

Browse files
AC-15182: PHPUnit 12 Upgrade | Fix Integration test failure
1 parent d4eecdb commit ce13ee8

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

app/code/Magento/Quote/Test/Unit/Helper/TotalsExtensionTestHelper.php

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,16 @@ class TotalsExtensionTestHelper implements TotalsExtensionInterface
4949
*/
5050
private $couponsLabels;
5151

52+
/**
53+
* @var float|null
54+
*/
55+
private $baseCustomerBalanceAmount;
56+
57+
/**
58+
* @var float|null
59+
*/
60+
private $customerBalanceAmount;
61+
5262
/**
5363
* Get negotiable quote totals
5464
*
@@ -202,4 +212,48 @@ public function setCouponsLabels($couponsLabels)
202212
$this->couponsLabels = $couponsLabels;
203213
return $this;
204214
}
215+
216+
/**
217+
* Get base customer balance amount
218+
*
219+
* @return float|null
220+
*/
221+
public function getBaseCustomerBalanceAmount()
222+
{
223+
return $this->baseCustomerBalanceAmount;
224+
}
225+
226+
/**
227+
* Set base customer balance amount
228+
*
229+
* @param float|null $baseCustomerBalanceAmount
230+
* @return $this
231+
*/
232+
public function setBaseCustomerBalanceAmount($baseCustomerBalanceAmount)
233+
{
234+
$this->baseCustomerBalanceAmount = $baseCustomerBalanceAmount;
235+
return $this;
236+
}
237+
238+
/**
239+
* Get customer balance amount
240+
*
241+
* @return float|null
242+
*/
243+
public function getCustomerBalanceAmount()
244+
{
245+
return $this->customerBalanceAmount;
246+
}
247+
248+
/**
249+
* Set customer balance amount
250+
*
251+
* @param float|null $customerBalanceAmount
252+
* @return $this
253+
*/
254+
public function setCustomerBalanceAmount($customerBalanceAmount)
255+
{
256+
$this->customerBalanceAmount = $customerBalanceAmount;
257+
return $this;
258+
}
205259
}

0 commit comments

Comments
 (0)