mirror of
https://github.com/internetee/registry.git
synced 2025-07-27 21:16:12 +02:00
Fixed system test
This commit is contained in:
parent
0069d57c6f
commit
b48c22f6f3
1 changed files with 1 additions and 0 deletions
|
@ -85,6 +85,7 @@ class AdminRegistrarsApiUsersSystemTest < ApplicationSystemTestCase
|
|||
def unassociated_api_user
|
||||
new_api_user = users(:api_bestnames).dup
|
||||
new_api_user.username = "unique-#{rand(100)}"
|
||||
new_api_user.identity_code = rand(10)
|
||||
new_api_user.save!
|
||||
new_api_user
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue