Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 16, 2023
1 parent 7ed16cd commit fd95cb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/org/kiwitcms/java/api/RpcClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ public TestExecutionStatus getTestExecutionStatus(String name, String weightLook
return null;
}
}

public TestCase getTestCaseById(int testCaseId) {
Map<String, Object> filter = new HashMap<>();
filter.put("id", testCaseId);
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/kiwitcms/java/junit/TestDataEmitter.java
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public void addTestResultsToRun(int runId, List<TestMethod> tests) {
testCase = client.getOrCreateTestCase(productId, categoryId, priorityId, test.getSummary());

Check warning on line 109 in src/main/java/org/kiwitcms/java/junit/TestDataEmitter.java

View check run for this annotation

Codecov / codecov/patch

src/main/java/org/kiwitcms/java/junit/TestDataEmitter.java#L109

Added line #L109 was not covered by tests
}
client.addTestCaseToPlan(testPlanId, testCase.getCaseId());

TestExecution[] executions = client.addTestCaseToRunId(runId, testCase.getCaseId());
for (TestExecution testExecution : executions) {
client.updateTestExecution(testExecution.getTcRunId(), getTestExecutionStatusId(test.result));
Expand Down

0 comments on commit fd95cb5

Please sign in to comment.