mirror of
https://github.com/internetee/registry.git
synced 2025-06-07 05:05:45 +02:00
parent
8c4e6f1656
commit
83f8a9fb6a
44 changed files with 530 additions and 610 deletions
|
@ -16,6 +16,16 @@ require 'support/task_test_case'
|
|||
Setting.address_processing = false
|
||||
Setting.registry_country_code = 'US'
|
||||
|
||||
class CompanyRegisterClientStub
|
||||
Company = Struct.new(:registration_number)
|
||||
|
||||
def representation_rights(citizen_personal_code:, citizen_country_code:)
|
||||
[Company.new('1234567')]
|
||||
end
|
||||
end
|
||||
|
||||
CompanyRegister::Client = CompanyRegisterClientStub
|
||||
|
||||
class ActiveSupport::TestCase
|
||||
include FactoryBot::Syntax::Methods
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue