mirror of
https://github.com/google/nomulus.git
synced 2025-08-04 17:01:51 +02:00
Typo in comment
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=122449880
This commit is contained in:
parent
13f5106070
commit
86f3287761
18 changed files with 84 additions and 107 deletions
|
@ -16,6 +16,8 @@ package google.registry.ui.server.registrar;
|
|||
|
||||
import static com.google.common.truth.Truth.assertThat;
|
||||
import static google.registry.security.JsonHttpTestUtils.createJsonPayload;
|
||||
import static google.registry.testing.DatastoreHelper.persistResource;
|
||||
import static google.registry.testing.DatastoreHelper.persistSimpleResource;
|
||||
import static org.mockito.Mockito.when;
|
||||
|
||||
import com.google.common.collect.ImmutableList;
|
||||
|
@ -25,7 +27,6 @@ import com.google.common.collect.ImmutableSet;
|
|||
import google.registry.model.registrar.Registrar;
|
||||
import google.registry.model.registrar.RegistrarContact;
|
||||
import google.registry.testing.AppEngineRule;
|
||||
import google.registry.testing.DatastoreHelper;
|
||||
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
|
@ -122,8 +123,8 @@ public class ContactSettingsTest extends RegistrarServletTestCase {
|
|||
.setTypes(ImmutableSet.of(RegistrarContact.Type.ADMIN, RegistrarContact.Type.TECH))
|
||||
.build();
|
||||
// Lest we anger the timestamp inversion bug.
|
||||
DatastoreHelper.persistResource(registrar);
|
||||
DatastoreHelper.persistSimpleGlobalResources(ImmutableSet.of(rc));
|
||||
persistResource(registrar);
|
||||
persistSimpleResource(rc);
|
||||
|
||||
// Now try to remove the phone number.
|
||||
rc = rc.asBuilder().setPhoneNumber(null).build();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue