-
Notifications
You must be signed in to change notification settings - Fork 47
Description
version(s) affected
1.2.0
Description
after refactoring the constructor by removing status, createdAt, and updatedAt from its parameter list, now we initializing them with default values inside the constructor.
How to reproduce
a few examples :
✘ test getStatus method with account-status-active
┐
├ Failed asserting that two values of enumeration Bitrix24\SDK\Application\Contracts\Bitrix24Accounts\Entity\Bitrix24AccountStatus are equal, new does not match expected active.
│
│ /var/www/html/vendor/bitrix24/b24phpsdk/tests/Application/Contracts/Bitrix24Accounts/Entity/Bitrix24AccountInterfaceTest.php:174
┴
✘ test getCreatedAt method with valid-update
┐
├ Failed asserting that false is true.
│
│ /var/www/html/vendor/bitrix24/b24phpsdk/tests/Application/Contracts/Bitrix24Accounts/Entity/Bitrix24AccountInterfaceTest.php:408
┴
✘ test getUpdatedAt method with valid-update-same-scope
┐
├ Failed asserting that false is true.
│
│ /var/www/html/vendor/bitrix24/b24phpsdk/tests/Application/Contracts/Bitrix24Accounts/Entity/Bitrix24AccountInterfaceTest.php:435
┴
Possible Solution
No response
Additional Context
No response