mirror of
https://github.com/internetee/registry.git
synced 2025-06-08 21:54:48 +02:00
Modify tests to have :airport domain included in processing
This commit is contained in:
parent
3c0f7b3a86
commit
38b7e52ac8
1 changed files with 2 additions and 0 deletions
|
@ -3,6 +3,8 @@ require 'test_helper'
|
||||||
class APIDomainAdminContactsTest < ApplicationIntegrationTest
|
class APIDomainAdminContactsTest < ApplicationIntegrationTest
|
||||||
setup do
|
setup do
|
||||||
@admin_current = domains(:shop).admin_contacts.find_by(code: 'jane-001')
|
@admin_current = domains(:shop).admin_contacts.find_by(code: 'jane-001')
|
||||||
|
domain = domains(:airport)
|
||||||
|
domain.admin_contacts = [@admin_current]
|
||||||
@admin_new = contacts(:william)
|
@admin_new = contacts(:william)
|
||||||
|
|
||||||
@admin_new.update(ident: @admin_current.ident,
|
@admin_new.update(ident: @admin_current.ident,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue