Remove spec11 domain foreign key (#757)

We'll want this eventually but until the Domain SQL table is populated,
we can't rely on domains' existence.
This commit is contained in:
gbrodman 2020-08-10 14:55:40 -04:00 committed by GitHub
parent 26dfdd5b71
commit 44d7ad61c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 8 deletions

View file

@ -33,6 +33,7 @@ import google.registry.persistence.VKey;
import org.joda.time.LocalDate;
import org.joda.time.format.ISODateTimeFormat;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/** Unit tests for {@link Spec11ThreatMatch}. */
@ -121,6 +122,7 @@ public class Spec11ThreatMatchTest extends EntityTestCase {
}
@Test
@Disabled("We can't rely on foreign keys until we've migrated to SQL")
void testThreatForeignKeyConstraints() {
assertThrowForeignKeyViolation(
() -> {