Skip to content

Commit

Permalink
Run all the integration tests - 2025-02-28 PT
Browse files Browse the repository at this point in the history
  • Loading branch information
seratch committed Feb 28, 2025
1 parent 030092f commit a2120d2
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 8 deletions.
8 changes: 6 additions & 2 deletions json-logs/raw/audit/v1/actions.json
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,10 @@
"slack_ai_message_rewriter",
"slack_ai_message_translation_generated",
"audit_logs_records_searched_anomaly",
"pref.ml_opt_out"
"pref.ml_opt_out",
"pref.agentforce_workspaces_settings_changed",
"pref.enterprise_search_connectors",
"pref.enterprise_search_enabled"
],
"user": [
"custom_tos_accepted",
Expand Down Expand Up @@ -295,7 +298,8 @@
"file_download_blocked",
"file_owner_reassigned_for_quip_migration",
"slack_ai_file_summary_generated",
"slack_ai_file_summary_deleted"
"slack_ai_file_summary_deleted",
"slack_ai_file_summary_translation_generated"
],
"channel": [
"user_channel_join",
Expand Down
4 changes: 4 additions & 0 deletions json-logs/samples/api/admin.conversations.search.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@
"id": "",
"label": "",
"type": ""
},
{
"type": "",
"id": ""
}
]
}
Expand Down
3 changes: 2 additions & 1 deletion json-logs/samples/api/conversations.kick.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"ok": false,
"error": "",
"needed": "",
"provided": ""
"provided": "",
"errors": {}
}
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,9 @@ private WorkspaceOrOrg() {
public static final String pref_allow_lists = "pref.allow_lists";
public static final String pref_anomaly_event_response_changed = "pref.anomaly_event_response_changed";
public static final String pref_ml_opt_out = "pref.ml_opt_out";
public static final String pref_agentforce_workspaces_settings_changed = "pref.agentforce_workspaces_settings_changed";
public static final String pref_enterprise_search_connectors = "pref.enterprise_search_connectors";
public static final String pref_enterprise_search_enabled = "pref.enterprise_search_enabled";
public static final String manual_export_downloaded = "manual_export_downloaded";
public static final String manual_export_deleted = "manual_export_deleted";
public static final String scheduled_export_downloaded = "scheduled_export_downloaded";
Expand Down Expand Up @@ -315,6 +318,7 @@ private File() {
public static final String file_owner_reassigned_for_quip_migration = "file_owner_reassigned_for_quip_migration";
public static final String slack_ai_file_summary_generated = "slack_ai_file_summary_generated";
public static final String slack_ai_file_summary_deleted = "slack_ai_file_summary_deleted";
public static final String slack_ai_file_summary_translation_generated = "slack_ai_file_summary_translation_generated";
}

public static class Channel {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ public class ConversationsKickResponse implements SlackApiTextResponse {
private String error;
private String needed;
private String provided;
private Object errors; // TODO: typing
private transient Map<String, List<String>> httpResponseHeaders;
}
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public void getFile_member_error() throws Exception {
public void getFile_member_forEach() throws Exception {
if (orgAdminUserToken != null) {
AdminAnalyticsGetFileResponse response = methodsAsync.adminAnalyticsGetFile(r -> r
.date("2024-01-20")
.date("2025-01-20")
.type("member")
).get();
assertNull(response.getError());
Expand Down Expand Up @@ -89,7 +89,7 @@ public void getFile_member_forEach() throws Exception {
public void getFile_member_forEach_validation() throws Exception {
if (orgAdminUserToken != null) {
AdminAnalyticsGetFileResponse response = methodsAsync.adminAnalyticsGetFile(r -> r
.date("2024-01-20")
.date("2025-01-20")
.type("member")
).get();
assertNull(response.getError());
Expand All @@ -109,7 +109,7 @@ public void getFile_member_forEach_validation() throws Exception {
public void getFile_member_asBytes() throws Exception {
if (orgAdminUserToken != null) {
AdminAnalyticsGetFileResponse response = methodsAsync.adminAnalyticsGetFile(r -> r
.date("2024-01-20")
.date("2025-01-20")
.type("member")
).get();
assertNotNull(response.getFileStream());
Expand All @@ -134,7 +134,7 @@ public void getFile_member_asBytes() throws Exception {
public void getFile_public_channel() throws Exception {
if (orgAdminUserToken != null) {
AdminAnalyticsGetFileResponse response = methodsAsync.adminAnalyticsGetFile(r -> r
.date("2024-01-20")
.date("2025-01-20")
.type("public_channel")
).get();
assertNull(response.getError());
Expand Down Expand Up @@ -170,7 +170,7 @@ public void getFile_public_channel() throws Exception {
public void getFile_public_channel_validation() throws Exception {
if (orgAdminUserToken != null) {
AdminAnalyticsGetFileResponse response = methodsAsync.adminAnalyticsGetFile(r -> r
.date("2024-01-20")
.date("2025-01-20")
.type("public_channel")
).get();
assertNull(response.getError());
Expand Down

0 comments on commit a2120d2

Please sign in to comment.