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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 // Before deleting the unneeded manifests - we have 11 of them (one for the first
// creation, and 10 more for the mutateContacts) // creation, and 10 more for the mutateContacts)
assertThat(ofy().load().type(CommitLogManifest.class).count()).isEqualTo(11); 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); 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())) assertThat(ImmutableList.copyOf(ofy().load().type(CommitLogManifest.class).keys().iterable()))
.containsExactlyElementsIn(contact.getRevisions().values()); .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); assertThat(ofyLoadType(CommitLogMutation.class)).hasSize(contact.getRevisions().size() * 3);
} }

View file

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