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:
gbrodman 2019-04-23 12:04:40 -07:00 committed by jianglai
parent 9f979790e4
commit 2b12ca42f5
9 changed files with 87 additions and 27 deletions

View file

@ -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)