Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Ullrich Hafner <[email protected]>
  • Loading branch information
timja and uhafner authored Apr 4, 2024
1 parent 74e1aa1 commit 469908a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ public void publishChecksShouldIncludeEnclosingBlocksWhenEnabled() {

buildSuccessfully(job);

assertThat(getFactory().getPublishedChecks().size()).isEqualTo(1);
assertThat(getFactory().getPublishedChecks()).hasSize(1);
ChecksDetails autoChecks = getFactory().getPublishedChecks().get(0);

assertThat(autoChecks.getName()).isPresent().get().isEqualTo("tests / Integration Test");
assertThat(autoChecks.getName()).contains("tests / Integration Test");
assertThat(autoChecks.getStatus()).isEqualTo(ChecksStatus.IN_PROGRESS);
assertThat(autoChecks.getConclusion()).isEqualTo(ChecksConclusion.NONE);
}
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/design.puml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ skinparam component {
[Checks] <<..checks>>

[Steps] --> [API]
[Steps] --> [Utils
[Steps] --> [Utils]
[Status] --> [API]
[Status] --> [Utils]
[Checks] --> [API]
Expand Down

0 comments on commit 469908a

Please sign in to comment.