mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 09:27:19 +02:00
13 lines
419 B
Ruby
13 lines
419 B
Ruby
require 'test_helper'
|
|
|
|
class EppSessionTest < ActiveSupport::TestCase
|
|
def test_api_user_id_serialization
|
|
epp_session = EppSession.new
|
|
epp_session.registrar = registrars(:bestnames)
|
|
epp_session[:api_user_id] = ActiveRecord::Fixtures.identify(:api_bestnames)
|
|
epp_session.save!
|
|
epp_session.reload
|
|
|
|
assert_equal ActiveRecord::Fixtures.identify(:api_bestnames), epp_session[:api_user_id]
|
|
end
|
|
end
|