mirror of
https://github.com/google/nomulus.git
synced 2025-07-22 10:46:10 +02:00
Use the registrar client ID and abuse email address in Spec11
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=244899045
This commit is contained in:
parent
9f979790e4
commit
2b12ca42f5
9 changed files with 87 additions and 27 deletions
|
@ -177,7 +177,7 @@ public class PublishSpec11ReportActionTest {
|
|||
RegistrarThreatMatches firstMatches = getMatchA();
|
||||
ImmutableList<ThreatMatch> secondMatchList = getMatchB().threatMatches();
|
||||
RegistrarThreatMatches secondMatches =
|
||||
RegistrarThreatMatches.create("a@fake.com", secondMatchList);
|
||||
RegistrarThreatMatches.create("TheRegistrar", secondMatchList);
|
||||
when(parser.getRegistrarThreatMatches(date))
|
||||
.thenReturn(ImmutableSet.of(firstMatches, secondMatches));
|
||||
expectedJob.setCurrentState("JOB_STATE_DONE");
|
||||
|
@ -185,7 +185,7 @@ public class PublishSpec11ReportActionTest {
|
|||
ImmutableSet<RegistrarThreatMatches> expectedMatchSet =
|
||||
ImmutableSet.of(
|
||||
RegistrarThreatMatches.create(
|
||||
"a@fake.com",
|
||||
"TheRegistrar",
|
||||
ImmutableList.<ThreatMatch>builder()
|
||||
.addAll(firstMatches.threatMatches())
|
||||
.addAll(secondMatchList)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue