Skip to content

Commit c47a50a

Browse files
committed
Run all the integration tests - 2024-06-13 PT
1 parent 005ba64 commit c47a50a

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

json-logs/raw/audit/v1/actions.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,10 @@
301301
"record_channel_archive",
302302
"record_channel_unarchive",
303303
"channel_converted_to_record_channel",
304-
"record_channel_converted_to_channel"
304+
"record_channel_converted_to_channel",
305+
"external_shared_channel_invite_requested",
306+
"external_shared_channel_invite_request_approved",
307+
"external_shared_channel_invite_request_denied"
305308
],
306309
"app": [
307310
"app_installed",

slack-api-client/src/main/java/com/slack/api/audit/Actions.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,9 @@ private Channel() {
325325
public static final String record_channel_unarchive = "record_channel_unarchive";
326326
public static final String channel_converted_to_record_channel = "channel_converted_to_record_channel";
327327
public static final String record_channel_converted_to_channel = "record_channel_converted_to_channel";
328+
public static final String external_shared_channel_invite_requested = "external_shared_channel_invite_requested";
329+
public static final String external_shared_channel_invite_request_approved = "external_shared_channel_invite_request_approved";
330+
public static final String external_shared_channel_invite_request_denied = "external_shared_channel_invite_request_denied";
328331
}
329332

330333
public static class App {

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ public class users_Test {
3838
static Slack slack = Slack.getInstance(testConfig.getConfig());
3939

4040
String botToken = System.getenv(Constants.SLACK_SDK_TEST_BOT_TOKEN);
41+
String orgBotToken = System.getenv(Constants.SLACK_SDK_TEST_GRID_ORG_LEVEL_APP_BOT_TOKEN);
4142
String userToken = System.getenv(Constants.SLACK_SDK_TEST_USER_TOKEN);
4243
String enterpriseGridTeamAdminUserToken = System.getenv(
4344
Constants.SLACK_SDK_TEST_GRID_WORKSPACE_ADMIN_USER_TOKEN);
@@ -448,7 +449,7 @@ public void discoverableContacts() throws Exception {
448449
String userId = System.getenv(SLACK_SDK_TEST_GRID_SHARED_CHANNEL_OTHER_ORG_USER_ID);
449450
UsersInfoResponse user = slack.methods(botToken).usersInfo(r -> r.user(userId));
450451
String email = user.getUser().getProfile().getEmail();
451-
UsersDiscoverableContactsLookupResponse response = slack.methods(botToken)
452+
UsersDiscoverableContactsLookupResponse response = slack.methods(orgBotToken)
452453
.usersDiscoverableContactsLookup(r -> r.email(email));
453454
// TODO: valid tests
454455
assertThat(response.getError(), is("not_allowed"));

0 commit comments

Comments
 (0)