From b48c22f6f35ccea17fb0338e0d7b4734517feedc Mon Sep 17 00:00:00 2001 From: Sergei Tsoganov Date: Mon, 29 May 2023 15:11:56 +0300 Subject: [PATCH] Fixed system test --- test/system/admin_area/registrars/api_users_test.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/system/admin_area/registrars/api_users_test.rb b/test/system/admin_area/registrars/api_users_test.rb index 32de1451b..2cd927b70 100644 --- a/test/system/admin_area/registrars/api_users_test.rb +++ b/test/system/admin_area/registrars/api_users_test.rb @@ -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