1
0
mirror of https://github.com/google/nomulus synced 2026-01-03 11:45:39 +00:00

Fully reset domain-list page on registrar change (#2456)

When the registrar changes we should reset the page and the total
results to 0 (since we haven't loaded them yet)

https://b.corp.google.com/issues/343193698
This commit is contained in:
gbrodman
2024-05-29 12:54:01 -04:00
committed by GitHub
parent 455364ff29
commit 589041b3ed
2 changed files with 9 additions and 0 deletions

View File

@@ -154,6 +154,13 @@ public enum Fixture {
persistActiveHost("ns5.linode.com").createVKey()))
.build());
persistResource(
DatabaseHelper.newDomain("newregistrar.example")
.asBuilder()
.setPersistedCurrentSponsorRegistrarId("NewRegistrar")
.setCreationRegistrarId("NewRegistrar")
.build());
persistResource(
loadRegistrar("TheRegistrar")
.asBuilder()