Skip to content

Commit

Permalink
Remove unnecessary stubbing from BuildCDEvent.java test
Browse files Browse the repository at this point in the history
  • Loading branch information
rorybakerfmr committed Mar 5, 2024
1 parent 3057896 commit 1dda2b4
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ void buildPipelineRunStartedModel() throws IOException, InterruptedException {
try (MockedStatic<ModelBuilder> modelBuilder = getMockedModelBuilder()) {
modelBuilder.when(() -> ModelBuilder.buildJobModel(job, run, taskListener)).thenReturn(new JobModel());
when(run.getParent().getFullDisplayName()).thenReturn("TestJob1");
when(run.getParent().getUrl()).thenReturn("http://localhost/job/1");
when(run.getUrl()).thenReturn("http://localhost/job/1/stage/1");
when(run.getId()).thenReturn("1");

Expand Down

0 comments on commit 1dda2b4

Please sign in to comment.