Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
lojzatran committed Jan 6, 2025
1 parent 3b9ffb6 commit 3f31575
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ public ByProjectKeyByResourceTypeRequestBuilder withResourceTypeValue(String res
return with().withResourceTypeValue(resourceType);
}

@Override
public ByProjectKeyGraphqlRequestBuilder graphql() {
return with().graphql();

Check warning on line 47 in commercetools/commercetools-sdk-java-history/src/main/java/com/commercetools/history/client/ProjectApiRoot.java

View check run for this annotation

Codecov / codecov/patch

commercetools/commercetools-sdk-java-history/src/main/java/com/commercetools/history/client/ProjectApiRoot.java#L47

Added line #L47 was not covered by tests
}

@Override
public void close() {
if (apiHttpClient == null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ public interface ProjectScopedApiRoot {
ByProjectKeyGet get();

ByProjectKeyByResourceTypeRequestBuilder withResourceTypeValue(String resourceType);

ByProjectKeyGraphqlRequestBuilder graphql();
}

0 comments on commit 3f31575

Please sign in to comment.