Commit graph

11220 commits

Author SHA1 Message Date
oleghasjanov
d0a39bf469 remove company creation validation 2024-11-25 14:48:28 +02:00
oleghasjanov
d23b66e859 added logs for company register values 2024-11-25 13:17:07 +02:00
oleghasjanov
64d9ed4bc6 test 2024-11-25 12:57:01 +02:00
oleghasjanov
6d810bb604 call company status directly 2024-11-25 12:50:30 +02:00
oleghasjanov
7f6c4f24a6 added more logs 2024-11-25 12:46:46 +02:00
oleghasjanov
88d7689295 changed ident to string 2024-11-25 12:44:01 +02:00
oleghasjanov
95f5acb2b0 change test mode directly 2024-11-25 12:40:09 +02:00
oleghasjanov
cded813955 added details to error message 2024-11-25 12:29:20 +02:00
oleghasjanov
1dd0d29635 added retries 2024-11-25 12:27:13 +02:00
oleghasjanov
748a146fe5 added logs to exception 2024-11-25 12:18:56 +02:00
oleghasjanov
959ac0a9b2 mock method 2024-11-25 12:15:50 +02:00
oleghasjanov
025eb26f3b added logs to company register 2024-11-25 12:11:24 +02:00
oleghasjanov
5778c5e4e9 added more logs 2024-11-25 12:07:22 +02:00
oleghasjanov
962037c5a0 added test error message 2024-11-25 12:04:23 +02:00
oleghasjanov
2c1051a427 lecolice constants into the local interaction 2024-11-25 11:57:15 +02:00
oleghasjanov
00aee547dd registred company returns not exists 2024-11-25 11:47:30 +02:00
Sergei Tsõganov
e73df3af69
Update .ruby-version 2024-11-19 10:51:13 +02:00
Timo Võhmar
f5a0c6e0d6
Update CHANGELOG.md 2024-11-19 10:39:52 +02:00
Timo Võhmar
5d454febb3
Merge pull request #2696 from internetee/verify-contacts
Handling contact verifications
2024-11-19 10:34:53 +02:00
OlegPhenomenon
5b7f6ae3c4
Merge pull request #2712 from internetee/cover-company-register-case-with-tests
feat: add company register status job tests
2024-11-14 10:26:10 +02:00
oleghasjanov
35eb60a5d8 removed extra line 2024-11-14 10:16:24 +02:00
oleghasjanov
da17294836 feat: add company register status job tests
- Add test for checking companies with status K (DELETED) that should be scheduled for force delete
- Add test for checking companies that are not found in register and should be deleted
- Add company_details method to CompanyRegisterClientStub for mocking API responses

The tests verify that:
1. Companies with DELETED status are properly marked for force delete
2. Companies not found in register are marked as deleted and scheduled for force delete
3. Proper mocking of company_details API responses
2024-11-14 10:13:01 +02:00
tsoganov
6bd4c25d65 Updated gitignore 2024-11-14 08:38:38 +02:00
tsoganov
35c5eb6ab5 Fixed structure.sql 2024-11-14 08:37:09 +02:00
tsoganov
af46be8d0f Corrected tests 2024-11-14 08:37:09 +02:00
tsoganov
0085f99e02 Modified identification request webhook 2024-11-14 08:37:09 +02:00
tsoganov
d04622c49f Fixed request endpoint uri 2024-11-14 08:37:09 +02:00
tsoganov
8ed18ab76e Skipped authenticity token for webhook controller 2024-11-14 08:37:09 +02:00
tsoganov
285fa138e6 Fixed codeclimate 2024-11-14 08:37:09 +02:00
tsoganov
637cabf95f Handling contact verifications 2024-11-14 08:37:09 +02:00
renovate[bot]
44e42dd0fb
chore(deps): update dependency puma to v5.6.9 [security] (#2710)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 00:39:45 +00:00
renovate[bot]
193e13cbd4
chore(deps): update dependency ruby to v3.3.5 (#2707)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-13 21:31:19 +00:00
OlegPhenomenon
b655d93e61
Merge pull request #2709 from internetee/fix-failed-tests
fixed tests: updated gems; improve company register status job and te…
2024-11-13 21:36:41 +02:00
oleghasjanov
292a4fddc5 fixed tests: updated gems; improve company register status job and test stability
- Refactor CompanyRegisterStatusJob for better readability and error handling
- Update whitelisted_companies to use JSON parsing with fallback
- Fix company register status check in tests with proper mock data
- Remove debug logging statements
- Add null check for domain status notes
- Update test dependencies (Capybara and Selenium) for better stability
2024-11-13 15:04:39 +02:00
Timo Võhmar
34e13ffb40
Update CHANGELOG.md 2024-11-08 12:56:21 +02:00
Timo Võhmar
8be92f09b0
Merge pull request #2693 from internetee/business-registry-check-for-company-existing-2
Business registry check for company existing 2
2024-11-08 12:54:22 +02:00
oleghasjanov
0a08d77b1c fixed conflict 2024-11-08 12:46:39 +02:00
oleghasjanov
81512dff65 update dockerfile 2024-11-08 12:46:17 +02:00
oleghasjanov
3cf4e29531 change unique collection from by ident to code 2024-11-08 12:46:17 +02:00
oleghasjanov
7da6eea85c updated FD conditions 2024-11-08 12:46:17 +02:00
oleghasjanov
c4f35522ca mend 2024-11-08 12:46:17 +02:00
oleghasjanov
ba9aeb437d remove logs, fixed company register status job 2024-11-08 12:46:17 +02:00
oleghasjanov
6f8a4a478f change contact domains method 2024-11-08 12:46:17 +02:00
oleghasjanov
b3ac165bd3 added logs 2024-11-08 12:46:17 +02:00
oleghasjanov
6b1a62cf2c test: remove force delete enable 2024-11-08 12:46:17 +02:00
oleghasjanov
468e9e829f added sleep delay flag 2024-11-08 12:46:17 +02:00
oleghasjanov
44958c79bb added sleep delay configurable 2024-11-08 12:46:17 +02:00
oleghasjanov
487c600b11 change iterator and added logs 2024-11-08 12:46:17 +02:00
oleghasjanov
a13ef33628 fixed method for check force delete 2024-11-08 12:46:15 +02:00
oleghasjanov
61497deb2a added more tests 2024-11-08 12:45:12 +02:00