Skip to content

Commit df7c874

Browse files
committed
Run all the integration tests - 2025-02-03 PT
1 parent f936ad2 commit df7c874

File tree

6 files changed

+39
-10
lines changed

6 files changed

+39
-10
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,8 @@
229229
"slack_ai_todo_title_generated",
230230
"pref.anomaly_event_response_changed",
231231
"security_settings_export_started",
232-
"security_settings_export_completed"
232+
"security_settings_export_completed",
233+
"slack_ai_message_rewriter"
233234
],
234235
"user": [
235236
"custom_tos_accepted",

json-logs/samples/api/conversations.list.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@
6262
""
6363
],
6464
"user": [
65-
"W00000000"
65+
"W00000000",
66+
"U00000000"
6667
]
6768
},
6869
"threads_restricted_to": {

json-logs/samples/api/files.completeUploadExternal.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,18 @@
4949
"thread_ts": "0000000000.000000",
5050
"latest_reply": "0000000000.000000",
5151
"source": ""
52+
},
53+
{
54+
"reply_users": [
55+
""
56+
],
57+
"reply_users_count": 12345,
58+
"reply_count": 12345,
59+
"ts": "0000000000.000000",
60+
"channel_name": "",
61+
"team_id": "T00000000",
62+
"share_user_id": "U00000000",
63+
"source": ""
5264
}
5365
],
5466
"C00000001": [
@@ -65,6 +77,18 @@
6577
"thread_ts": "0000000000.000000",
6678
"latest_reply": "0000000000.000000",
6779
"source": ""
80+
},
81+
{
82+
"reply_users": [
83+
""
84+
],
85+
"reply_users_count": 12345,
86+
"reply_count": 12345,
87+
"ts": "0000000000.000000",
88+
"channel_name": "",
89+
"team_id": "T00000000",
90+
"share_user_id": "U00000000",
91+
"source": ""
6892
}
6993
]
7094
}

json-logs/samples/api/users.conversations.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@
9292
"type": ""
9393
},
9494
{
95-
"type": ""
95+
"type": "",
96+
"id": ""
9697
}
9798
]
9899
}

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ private WorkspaceOrOrg() {
239239
public static final String slack_ai_suggested_todo_regenerated = "slack_ai_suggested_todo_regenerated";
240240
public static final String slack_ai_suggested_todo_dismissed = "slack_ai_suggested_todo_dismissed";
241241
public static final String slack_ai_todo_title_generated = "slack_ai_todo_title_generated";
242+
public static final String slack_ai_message_rewriter = "slack_ai_message_rewriter";
242243
public static final String security_settings_export_started = "security_settings_export_started";
243244
public static final String security_settings_export_completed = "security_settings_export_completed";
244245
}

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

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -779,13 +779,14 @@ public void scheduleMessages() throws IOException, SlackApiException {
779779
DividerBlock.builder().build(),
780780
SectionBlock.builder().text(PlainTextObject.builder().text("foo").build()).build()
781781
);
782-
ChatScheduleMessageResponse message2 = slack.methods(botToken).chatScheduleMessage(r ->
783-
r.channel(randomChannelId).postAt(postAt)
784-
// the `text` field is required since May 2021
785-
//.text("fallback")
786-
.blocks(blocks));
787-
assertEquals("invalid_arguments", message2.getError());
788-
assertEquals("[ERROR] missing required field: text", message2.getResponseMetadata().getMessages().get(0));
782+
// This request no longer fails starting on Feb 3, 2025
783+
// ChatScheduleMessageResponse message2 = slack.methods(botToken).chatScheduleMessage(r ->
784+
// r.channel(randomChannelId).postAt(postAt)
785+
// // the `text` field is required since May 2021
786+
// //.text("fallback")
787+
// .blocks(blocks));
788+
// assertEquals("invalid_arguments", message2.getError());
789+
// assertEquals("[ERROR] missing required field: text", message2.getResponseMetadata().getMessages().get(0));
789790

790791
ChatScheduleMessageResponse message3 = slack.methods(botToken).chatScheduleMessage(r ->
791792
r.channel(randomChannelId).postAt(postAt)

0 commit comments

Comments
 (0)