internetee-registry/test
oleghasjanov 3c169bb00b Make admin contacts optional for private registrants
This change makes admin contacts optional for private registrants while keeping them mandatory for organizations. The changes include:

- Updated Domain model validations to make admin and tech contacts optional (min=0) for private registrants
- Added validation rules methods to handle different requirements based on registrant type
- Modified EPP domain creation to support domains without admin contacts for private registrants
- Updated attach_default_contacts to skip adding contacts for private registrants
- Added comprehensive test coverage for:
  - Domain model validations with private/org registrants
  - EPP domain creation without admin contacts for private registrants
  - REPP API contact management for private registrants

This implements the requirement to make admin contacts optional for private registrations of .ee domains while maintaining the existing validation rules for organizations.
2025-01-07 12:24:57 +02:00
..
fixtures Fixed fixture 2023-12-21 17:35:38 +02:00
helpers fixed tests: updated gems; improve company register status job and test stability 2024-11-13 15:04:39 +02:00
integration Make admin contacts optional for private registrants 2025-01-07 12:24:57 +02:00
interactions move validator from callback to action interactor and to the api controller 2024-02-02 09:08:04 +02:00
jobs Merge pull request #2718 from internetee/daily-fd-domains-subscription 2024-12-31 10:56:52 +02:00
learning Removed date_from attribute 2023-12-19 09:38:00 +02:00
lib Fix test naming error 2022-10-28 14:00:18 +03:00
mailers added more tests 2024-11-08 12:45:12 +02:00
models Make admin contacts optional for private registrants 2025-01-07 12:24:57 +02:00
services Corrected tests 2024-11-14 08:37:09 +02:00
support/assertions Pump minitest version 2020-02-05 12:43:25 +05:00
system/admin_area Corrected tests 2023-06-29 14:00:44 +03:00
tasks business contact validation + tests 2024-11-08 12:45:12 +02:00
application_system_test_case.rb comment out not relevant tests 2024-02-02 09:08:04 +02:00
test_helper.rb removed extra line 2024-11-14 10:16:24 +02:00