mirror of
https://github.com/internetee/registry.git
synced 2025-06-08 13:44:47 +02:00
REPP: Contact list tests
This commit is contained in:
parent
87dff41a4e
commit
d1e877502d
2 changed files with 45 additions and 14 deletions
|
@ -2,8 +2,8 @@ require 'test_helper'
|
|||
|
||||
class ReppV1BaseTest < ActionDispatch::IntegrationTest
|
||||
def setup
|
||||
@registrant = users(:api_bestnames)
|
||||
token = Base64.encode64("#{@registrant.username}:#{@registrant.plain_text_password}")
|
||||
@registrar = users(:api_bestnames)
|
||||
token = Base64.encode64("#{@registrar.username}:#{@registrar.plain_text_password}")
|
||||
token = "Basic #{token}"
|
||||
|
||||
@auth_headers = { 'Authorization' => token }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue