mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 14:44: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'
|
||||
|
||||
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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue