Skip to content

Conversation

@mesilov
Copy link
Collaborator

@mesilov mesilov commented Apr 20, 2025

Removed redundant arguments (Bitrix24AccountStatus, createdAt, updatedAt) in test constructors across multiple files. Introduced default handling for these properties within the target entity to simplify initialization and improve code clarity. Updated associated providers and adjusted tests to align with the changes.

Q A
Bug fix? yes
New feature? no
Deprecations? no
Issues Fix #141
License MIT

Removed redundant arguments (`Bitrix24AccountStatus`, `createdAt`, `updatedAt`) in test constructors across multiple files. Introduced default handling for these properties within the target entity to simplify initialization and improve code clarity. Updated associated providers and adjusted tests to align with the changes.

Signed-off-by: mesilov <mesilov@mesilov-mbp.local>
@mesilov mesilov self-assigned this Apr 20, 2025
mesilov added 2 commits April 21, 2025 02:18
Initialized default values for `$accountStatus` and `$createdAt` properties in `Bitrix24AccountReferenceEntityImplementation`. Removed redundant arguments `$bitrix24AccountStatus`, `$createdAt`, and `$updatedAt` in `InMemoryContactPersonRepositoryImplementationTest` for simplification.

Signed-off-by: mesilov <mesilov.maxim@gmail.com>
The RobotManager class and associated commented-out code have been fully removed as they were unused. This cleanup improves code maintainability and eliminates unnecessary clutter in the codebase.

Signed-off-by: mesilov <mesilov.maxim@gmail.com>
@mesilov mesilov marked this pull request as ready for review April 20, 2025 20:22
@mesilov mesilov added this to the Publish 1.3.0 milestone Apr 20, 2025
@mesilov mesilov linked an issue Apr 20, 2025 that may be closed by this pull request
@mesilov mesilov merged commit 50a0dbe into dev Apr 20, 2025
24 checks passed
@mesilov mesilov deleted the bugfix/141-bug-in-sdk-fix-bitrix24account-unit-test branch October 18, 2025 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug in SDK]: fix bitrix24account unit test

2 participants