Skip to content

Commit ea1fbe3

Browse files
kamal-kaur04francisf
authored andcommitted
remove duplicate code
1 parent addae20 commit ea1fbe3

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/test/java/com/browserstack/BrowserStackTestNGTest.java

-10
Original file line numberDiff line numberDiff line change
@@ -84,16 +84,6 @@ public void setUp(String config_file, String environment) throws Exception {
8484
}
8585
}
8686

87-
username = System.getenv("BROWSERSTACK_USERNAME");
88-
if (username == null) {
89-
username = (String) config.get("user");
90-
}
91-
92-
accessKey = System.getenv("BROWSERSTACK_ACCESS_KEY");
93-
if (accessKey == null) {
94-
accessKey = (String) config.get("key");
95-
}
96-
9787
if (capabilities.getCapability("bstack:options") != null) {
9888
HashMap bstackOptionsMap = (HashMap) capabilities.getCapability("bstack:options");
9989
if ((bstackOptionsMap.get("local") != null &&

0 commit comments

Comments
 (0)