mirror of
https://github.com/internetee/registry.git
synced 2025-06-11 23:24:48 +02:00
Do not take time into account when checking EPP session limit
This commit is contained in:
parent
1e997ad5b1
commit
9eb7d3527b
2 changed files with 2 additions and 5 deletions
|
@ -144,12 +144,9 @@ class EppLoginTest < EppTestCase
|
|||
|
||||
def test_user_cannot_login_when_session_limit_is_exceeded
|
||||
user = users(:api_bestnames)
|
||||
travel_to Time.zone.parse('2010-07-05')
|
||||
eliminate_effect_of_existing_epp_sessions
|
||||
EppSession.limit_per_registrar = 1
|
||||
EppSession.create!(session_id: 'any',
|
||||
user: user,
|
||||
updated_at: Time.zone.parse('2010-07-05'))
|
||||
EppSession.create!(session_id: 'any', user: user)
|
||||
|
||||
request_xml = <<-XML
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue