Skip to content

Commit 2e1bd9f

Browse files
committed
refactor in the test class
Signed-off-by: tnazarew <tomasz.nazarewicz@getindata.com>
1 parent 5aefb72 commit 2e1bd9f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

spark-bigquery-connector-common/src/test/java/com/google/cloud/spark/bigquery/util/GCPLabelUtilsTest.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313
import org.mockserver.model.Header;
1414

1515
public class GCPLabelUtilsTest {
16-
private ClientAndServer mockServer;
17-
private String mockBaseUrl;
18-
1916
public static final Header METADATA_HEADER = new Header("Metadata-Flavor", "Google");
2017
private static final String TEST_APP_NAME = "labels-test";
2118
private static final String TEST_APP_ID = "application_12345";
@@ -26,7 +23,6 @@ public class GCPLabelUtilsTest {
2623
private static final String TEST_SESSION_ID = "test-session";
2724
private static final String TEST_PROJECT_ID = "test-project";
2825
private static final String TEST_REGION = "us-central1";
29-
3026
private static final ImmutableMap<String, String> EXPECTED_FACET_DATAPROC_CLUSTER =
3127
ImmutableMap.<String, String>builder()
3228
.put("job.uuid", TEST_RESOURCE_UUID)
@@ -56,6 +52,9 @@ public class GCPLabelUtilsTest {
5652
.put("region", TEST_REGION)
5753
.build();
5854

55+
private ClientAndServer mockServer;
56+
private String mockBaseUrl;
57+
5958
@Before
6059
public void setUp() {
6160
mockServer = ClientAndServer.startClientAndServer();

0 commit comments

Comments
 (0)