Skip to content

Commit

Permalink
fix bonus details response data
Browse files Browse the repository at this point in the history
  • Loading branch information
Сергей Кривич committed Oct 12, 2023
1 parent b497e37 commit 099c0ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Model/Entity/Loyalty/BonusDetail.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class BonusDetail
/**
* @var \DateTime
*
* @JMS\Type("DateTime<'Y-m-d H:i:s'>")
* @JMS\Type("DateTime<'Y-m-d'>")
* @JMS\SerializedName("date")
*/
public $date;
Expand Down
2 changes: 1 addition & 1 deletion tests/src/ResourceGroup/LoyaltyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1190,7 +1190,7 @@ public function testGetBonusAccountDetails(): void
},
"bonuses": [
{
"date": "2021-03-17 18:08:02",
"date": "2021-03-17",
"amount": 1.2
}
],
Expand Down

0 comments on commit 099c0ce

Please sign in to comment.