mirror of
https://github.com/google/nomulus.git
synced 2025-07-07 03:33:28 +02: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:
parent
26dfdd5b71
commit
44d7ad61c0
3 changed files with 18 additions and 8 deletions
|
@ -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(
|
||||
() -> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue