mirror of
https://github.com/google/nomulus.git
synced 2025-08-05 17:28:25 +02:00
Add a button in the admin panel to check OT&E status of a registrar
For now, it only displays a status of "Passed: true|false" or an error message in simple text. In further work we will make the UI nicer. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=229971564
This commit is contained in:
parent
87ab149049
commit
5f87c3bff3
13 changed files with 195 additions and 82 deletions
|
@ -52,11 +52,11 @@ public final class OteStatusActionTest {
|
|||
|
||||
@Before
|
||||
public void init() throws Exception {
|
||||
OteStatsTestHelper.setupHistoryEntries();
|
||||
OteStatsTestHelper.setupHistoryEntries(BASE_CLIENT_ID);
|
||||
persistNewRegistrar(CLIENT_ID, "SomeRegistrar", Type.OTE, null);
|
||||
|
||||
ImmutableSetMultimap<String, Role> authValues =
|
||||
OteAccountBuilder.createClientIdToTldMap("blobio").keySet().stream()
|
||||
OteAccountBuilder.createClientIdToTldMap(BASE_CLIENT_ID).keySet().stream()
|
||||
.collect(toImmutableSetMultimap(Function.identity(), ignored -> Role.OWNER));
|
||||
action.registrarAccessor = AuthenticatedRegistrarAccessor.createForTesting(authValues);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue