mirror of
https://github.com/internetee/registry.git
synced 2025-06-11 15:14:47 +02:00
Make tests inherit from ApplicationIntegrationTest class
This commit is contained in:
parent
133a11977e
commit
e1881685b7
2 changed files with 3 additions and 3 deletions
|
@ -1,10 +1,10 @@
|
||||||
require 'test_helper'
|
require 'test_helper'
|
||||||
|
|
||||||
class RegistrantApiAuthenticationTest < ActionDispatch::IntegrationTest
|
class RegistrantApiAuthenticationTest < ApplicationIntegrationTest
|
||||||
def setup
|
def setup
|
||||||
super
|
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)
|
@existing_user = RegistrantUser.find_or_create_by_api_data(@user_hash)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
require 'test_helper'
|
require 'test_helper'
|
||||||
require 'auth_token/auth_token_creator'
|
require 'auth_token/auth_token_creator'
|
||||||
|
|
||||||
class RegistrantApiDomainsTest < ActionDispatch::IntegrationTest
|
class RegistrantApiDomainsTest < ApplicationIntegrationTest
|
||||||
def setup
|
def setup
|
||||||
super
|
super
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue