Merge branch 'registry-918' into registrant-api-contacts-controller

This commit is contained in:
Maciej Szlosarczyk 2018-08-08 09:14:11 +03:00
commit 8736366a41
No known key found for this signature in database
GPG key ID: 41D62D42D3B0D765
43 changed files with 45 additions and 45 deletions

View file

@ -1,6 +1,6 @@
require 'test_helper'
class APIDomainContactsTest < ActionDispatch::IntegrationTest
class APIDomainContactsTest < ApplicationIntegrationTest
def test_replace_all_tech_contacts_of_the_current_registrar
patch '/repp/v1/domains/contacts', { current_contact_id: 'william-001',
new_contact_id: 'john-001' },

View file

@ -1,6 +1,6 @@
require 'test_helper'
class APIDomainTransfersTest < ActionDispatch::IntegrationTest
class APIDomainTransfersTest < ApplicationIntegrationTest
setup do
@domain = domains(:shop)
@new_registrar = registrars(:goodnames)

View file

@ -1,6 +1,6 @@
require 'test_helper'
class APINameserversPutTest < ActionDispatch::IntegrationTest
class APINameserversPutTest < ApplicationIntegrationTest
def test_replaces_registrar_nameservers
old_nameserver_ids = [nameservers(:shop_ns1).id,
nameservers(:airport_ns1).id,

View file

@ -1,10 +1,10 @@
require 'test_helper'
class RegistrantApiAuthenticationTest < ActionDispatch::IntegrationTest
class RegistrantApiAuthenticationTest < ApplicationIntegrationTest
def setup
super
@user_hash = {ident: '37010100049', first_name: 'Adam', last_name: 'Baker'}
@user_hash = { ident: '37010100049', first_name: 'Adam', last_name: 'Baker' }
@existing_user = RegistrantUser.find_or_create_by_api_data(@user_hash)
end

View file

@ -1,7 +1,7 @@
require 'test_helper'
require 'auth_token/auth_token_creator'
class RegistrantApiDomainsTest < ActionDispatch::IntegrationTest
class RegistrantApiDomainsTest < ApplicationIntegrationTest
def setup
super