1
0
mirror of https://github.com/google/nomulus synced 2026-01-11 08:20:27 +00:00

Fix DatastoreHelper -> DatabaseHelper in comments (#885)

* Fix DatastoreHelper -> DatabaseHelper in comments

Fix a few comments that still make reference to DatastoreHelper.
This commit is contained in:
Michael Muller
2020-11-24 14:32:15 -05:00
committed by GitHub
parent 67c6d73a18
commit 3afcc0dcb4
2 changed files with 3 additions and 3 deletions

View File

@@ -95,7 +95,7 @@ public class DeleteOldCommitLogsActionTest
// Before deleting the unneeded manifests - we have 11 of them (one for the first
// creation, and 10 more for the mutateContacts)
assertThat(ofy().load().type(CommitLogManifest.class).count()).isEqualTo(11);
// And each DatastoreHelper.persistResourceWithCommitLog creates 3 mutations
// And each DatabaseHelper.persistResourceWithCommitLog creates 3 mutations
assertThat(ofy().load().type(CommitLogMutation.class).count()).isEqualTo(33);
}
@@ -111,7 +111,7 @@ public class DeleteOldCommitLogsActionTest
assertThat(ImmutableList.copyOf(ofy().load().type(CommitLogManifest.class).keys().iterable()))
.containsExactlyElementsIn(contact.getRevisions().values());
// And each DatastoreHelper.persistResourceWithCommitLog creates 3 mutations
// And each DatabaseHelper.persistResourceWithCommitLog creates 3 mutations
assertThat(ofyLoadType(CommitLogMutation.class)).hasSize(contact.getRevisions().size() * 3);
}

View File

@@ -37,7 +37,7 @@ class EppResourceIndexTest extends EntityTestCase {
@BeforeEach
void setUp() {
createTld("tld");
// The DatastoreHelper here creates the EppResourceIndex for us.
// The DatabaseHelper here creates the EppResourceIndex for us.
contact = persistActiveContact("abcd1357");
}