mirror of
https://github.com/google/nomulus.git
synced 2025-07-22 10:46:10 +02:00
Move registry policy settings and some others into YAML config
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=145571850
This commit is contained in:
parent
efedc03d45
commit
f647ea1190
15 changed files with 131 additions and 109 deletions
|
@ -15,8 +15,8 @@
|
|||
package google.registry.ui.server.registrar;
|
||||
|
||||
import static com.google.common.truth.Truth.assertThat;
|
||||
import static google.registry.config.RegistryConfig.getRegistrarDefaultReferralUrl;
|
||||
import static google.registry.config.RegistryConfig.getRegistrarDefaultWhoisServer;
|
||||
import static google.registry.config.RegistryConfig.getDefaultRegistrarReferralUrl;
|
||||
import static google.registry.config.RegistryConfig.getDefaultRegistrarWhoisServer;
|
||||
import static google.registry.testing.CertificateSamples.SAMPLE_CERT;
|
||||
import static google.registry.testing.CertificateSamples.SAMPLE_CERT2;
|
||||
import static google.registry.testing.CertificateSamples.SAMPLE_CERT2_HASH;
|
||||
|
@ -52,8 +52,8 @@ public class SecuritySettingsTest extends RegistrarSettingsActionTestCase {
|
|||
modified =
|
||||
modified
|
||||
.asBuilder()
|
||||
.setWhoisServer(getRegistrarDefaultWhoisServer())
|
||||
.setReferralUrl(getRegistrarDefaultReferralUrl().toString())
|
||||
.setWhoisServer(getDefaultRegistrarWhoisServer())
|
||||
.setReferralUrl(getDefaultRegistrarReferralUrl())
|
||||
.build();
|
||||
assertThat(response).containsEntry("status", "SUCCESS");
|
||||
assertThat(response).containsEntry("results", asList(modified.toJsonMap()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue