Skip to content

Commit

Permalink
CC-20629 fixed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-png committed Nov 24, 2023
1 parent 9e56150 commit 7fec962
Showing 1 changed file with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ class RecalculationTest extends Unit
*/
protected const DEFAULT_OMS_PROCESS_NAME = 'Test01';

/**
* @var string
*/
protected const CURRENCY_CODE_EUR = 'EUR';

/**
* @var \SprykerTest\Zed\GiftCard\GiftCardBusinessTester
*/
Expand All @@ -65,7 +70,7 @@ protected function setUp(): void
/**
* @return void
*/
public function testUpdatesActualAmountOfGiftCardPaymentWhenGiftCardActualAmountHasChanged(): void
public function testShouldUpdateActualAmountOfGiftCardPaymentWhenGiftCardActualAmountHasChanged(): void
{
// Arrange
$this->tester->setDependency(
Expand All @@ -84,7 +89,7 @@ public function getValue(GiftCardTransfer $giftCardTransfer): int
);

$currencyTransfer = (new CurrencyBuilder())->seed([
CurrencyTransfer::CODE => 'EUR',
CurrencyTransfer::CODE => static::CURRENCY_CODE_EUR,
])->build();
$giftCardTransfer = $this->tester->haveGiftCard([
GiftCardTransfer::IS_ACTIVE => true,
Expand Down Expand Up @@ -115,11 +120,11 @@ public function getValue(GiftCardTransfer $giftCardTransfer): int
/**
* @return void
*/
public function testUpdatesActualAmountOfGiftCardPaymentWhenGiftCardActualAmountEqualsItsValue(): void
public function testShouldUpdateActualAmountOfGiftCardPaymentWhenGiftCardActualAmountEqualsItsValue(): void
{
// Arrange
$currencyTransfer = (new CurrencyBuilder())->seed([
CurrencyTransfer::CODE => 'EUR',
CurrencyTransfer::CODE => static::CURRENCY_CODE_EUR,
])->build();
$giftCardTransfer = $this->tester->haveGiftCard([
GiftCardTransfer::IS_ACTIVE => true,
Expand Down

0 comments on commit 7fec962

Please sign in to comment.