Skip to content

Commit beb1b92

Browse files
committed
fix: set test channel/ team to null
1 parent dc13df5 commit beb1b92

File tree

1 file changed

+2
-2
lines changed
  • slack-api-client/src/test/java/test_with_remote_apis/methods

1 file changed

+2
-2
lines changed

slack-api-client/src/test/java/test_with_remote_apis/methods/chat_Test.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public class chat_Test {
5656

5757
String botToken = System.getenv(Constants.SLACK_SDK_TEST_BOT_TOKEN);
5858
String userToken = System.getenv(Constants.SLACK_SDK_TEST_USER_TOKEN);
59-
String teamId = "T09EX3FS2J3"; // Required if testing in an org environment. eg. "T0123ABC"
59+
String teamId = null; // Required if testing in an org environment. eg. "T0123ABC"
6060

6161
static SlackTestConfig testConfig = SlackTestConfig.getInstance();
6262
static Slack slack = Slack.getInstance(testConfig.getConfig());
@@ -71,7 +71,7 @@ public static void tearDown() throws InterruptedException {
7171
SlackTestConfig.awaitCompletion(testConfig);
7272
}
7373

74-
private String randomChannelId = "C0A30SRQAMU";
74+
private String randomChannelId = null;
7575

7676
void loadRandomChannelId() throws IOException, SlackApiException {
7777
if (randomChannelId == null) {

0 commit comments

Comments
 (0)