Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add company register status job tests #2712

Merged
merged 2 commits into from
Nov 14, 2024

Conversation

OlegPhenomenon
Copy link
Contributor

@OlegPhenomenon OlegPhenomenon commented Nov 14, 2024

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

- 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
@OlegPhenomenon OlegPhenomenon merged commit 5b7f6ae into master Nov 14, 2024
6 checks passed
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.

1 participant