Process failed domains for bulk ns change

This commit is contained in:
Karl Erik Õunapuu 2020-12-30 11:00:52 +02:00
parent 7d61eb07b0
commit 0e120d4992
No known key found for this signature in database
GPG key ID: C9DD647298A34764
5 changed files with 25 additions and 11 deletions

View file

@ -18,7 +18,8 @@ class RegistrarAreaNameserverBulkChangeTest < ApplicationSystemTestCase
.to_return(body: { data: {
type: 'nameserver',
id: 'new-ns.bestnames.test',
affected_domains: ["airport.test", "shop.test"]
affected_domains: ["airport.test", "shop.test"],
skipped_domains: []
}
}.to_json, status: 200)
@ -73,7 +74,8 @@ class RegistrarAreaNameserverBulkChangeTest < ApplicationSystemTestCase
.to_return(body: { data: {
type: 'nameserver',
id: 'new-ns.bestnames.test',
affected_domains: ["shop.test"]}}.to_json, status: 200)
affected_domains: ["shop.test"],
skipped_domains: []}}.to_json, status: 200)
visit registrar_domains_url
click_link 'Bulk change'