mirror of
https://github.com/google/nomulus
synced 2026-09-02 06:07:03 +00:00
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:
@@ -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(
|
||||
() -> {
|
||||
|
||||
Reference in New Issue
Block a user