Skip to content

Commit 06e4dd5

Browse files
authored
Remove unused static variables (#213)
Co-authored-by: MJL33 <>
1 parent 788c45f commit 06e4dd5

1 file changed

Lines changed: 0 additions & 20 deletions

File tree

src/main/java/com/frameworkium/core/common/reporting/jira/JiraConfig.java

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,10 @@
11
package com.frameworkium.core.common.reporting.jira;
22

3-
import com.frameworkium.core.common.properties.Property;
4-
import io.restassured.RestAssured;
5-
import io.restassured.specification.RequestSpecification;
6-
73
public class JiraConfig {
8-
9-
public static final String JIRA_REST_PATH = "/rest/api/latest/";
10-
public static final String REST_ZAPI_PATH = "/rest/zapi/latest/";
11-
124
private JiraConfig() {
135
// hide default constructor for this util class
146
}
157

16-
/**
17-
* Basic request to send to JIRA and authenticate successfully.
18-
*/
19-
public static RequestSpecification getJIRARequestSpec() {
20-
return RestAssured.given()
21-
.baseUri(Property.JIRA_URL.getValue())
22-
.relaxedHTTPSValidation()
23-
.auth().preemptive().basic(
24-
Property.JIRA_USERNAME.getValue(),
25-
Property.JIRA_PASSWORD.getValue());
26-
}
27-
288
/**
299
* These should correspond to your ZAPI result IDs and
3010
* are only used if logging to Zephyr for JIRA.

0 commit comments

Comments
 (0)