This repository has been archived by the owner on Feb 7, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add additional tests and improve account status change
This update adds more unit tests to validate application behavior. Particularly, tests for methods like 'isApplicationTokenValid', 'getCreatedAt', and 'getUpdatedAt' have been included. Also, the account status change from 'active' to 'blocked' has been corrected. Signed-off-by: mesilov <[email protected]>
- Loading branch information
Showing
4 changed files
with
316 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,32 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" backupGlobals="false" colors="true" bootstrap="tests/bootstrap.php" failOnRisky="true" failOnWarning="true"> | ||
<php> | ||
<ini name="error_reporting" value="-1"/> | ||
</php> | ||
<testsuites> | ||
<testsuite name="unit_tests"> | ||
<directory>./tests/Unit</directory> | ||
</testsuite> | ||
<testsuite name="integration_tests"> | ||
<directory>./tests/Integration</directory> | ||
</testsuite> | ||
<testsuite name="integration_tests_core"> | ||
<directory>./tests/Integration/Core/</directory> | ||
</testsuite> | ||
<testsuite name="integration_tests_scope_telephony"> | ||
<directory>./tests/Integration/Services/Telephony/</directory> | ||
</testsuite> | ||
<testsuite name="integration_tests_scope_user"> | ||
<directory>./tests/Integration/Services/User/</directory> | ||
</testsuite> | ||
<testsuite name="integration_tests_scope_workflows"> | ||
<directory>./tests/Integration/Services/Workflows/</directory> | ||
</testsuite> | ||
</testsuites> | ||
<source> | ||
<include> | ||
<directory>./src</directory> | ||
</include> | ||
</source> | ||
<php> | ||
<ini name="error_reporting" value="-1"/> | ||
</php> | ||
<testsuites> | ||
<testsuite name="unit_tests"> | ||
<directory>./tests/Unit</directory> | ||
<exclude>./tests/Unit/Application/Contracts/Bitrix24Accounts/Entity/Bitrix24AccountInterfaceTest.php</exclude> | ||
</testsuite> | ||
<testsuite name="integration_tests"> | ||
<directory>./tests/Integration</directory> | ||
</testsuite> | ||
<testsuite name="integration_tests_core"> | ||
<directory>./tests/Integration/Core/</directory> | ||
</testsuite> | ||
<testsuite name="integration_tests_scope_telephony"> | ||
<directory>./tests/Integration/Services/Telephony/</directory> | ||
</testsuite> | ||
<testsuite name="integration_tests_scope_user"> | ||
<directory>./tests/Integration/Services/User/</directory> | ||
</testsuite> | ||
<testsuite name="integration_tests_scope_workflows"> | ||
<directory>./tests/Integration/Services/Workflows/</directory> | ||
</testsuite> | ||
</testsuites> | ||
<source> | ||
<include> | ||
<directory>./src</directory> | ||
</include> | ||
</source> | ||
</phpunit> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.