Remove final vestiges of domain applications (#1153)

* Remove final vestiges of domain applications
This commit is contained in:
Ben McIlwain
2021-05-14 10:39:25 -04:00
committed by GitHub
parent 27f431b9cf
commit 6ce2926c6d
4 changed files with 7 additions and 14 deletions
@@ -235,14 +235,6 @@ class ContactDeleteFlowTest extends ResourceFlowTestCase<ContactDeleteFlow, Cont
assertAboutEppExceptions().that(thrown).marshalsToXml();
}
@TestOfyAndSql
void testFailure_failfastWhenLinkedToApplication() throws Exception {
createTld("tld");
persistResource(newDomainBase("example.tld", persistActiveContact(getUniqueIdFromCommand())));
EppException thrown = assertThrows(ResourceToDeleteIsReferencedException.class, this::runFlow);
assertAboutEppExceptions().that(thrown).marshalsToXml();
}
@TestOfyAndSql
void testIcannActivityReportField_getsLogged() throws Exception {
persistActiveContact(getUniqueIdFromCommand());
@@ -229,7 +229,7 @@ class EppResourceInputsTest {
void testSuccess_entityReader_noFilteringWhenUsingEppResource() throws Exception {
createTld("tld");
ContactResource contact = persistEppResourceInFirstBucket(newContactResource("contact"));
// Specify the contact since persistActiveDomain{Application} creates a hidden one.
// Specify the contact since persistActiveDomain() creates a hidden one.
DomainBase domain1 = persistEppResourceInFirstBucket(newDomainBase("a.tld", contact));
DomainBase domain2 = persistEppResourceInFirstBucket(newDomainBase("b.tld", contact));
HostResource host = persistEppResourceInFirstBucket(newHostResource("ns1.example.com"));