diff --git a/slack-api-client/src/test/java/test_with_remote_apis/methods_admin_api/AdminApi_analytics_Test.java b/slack-api-client/src/test/java/test_with_remote_apis/methods_admin_api/AdminApi_analytics_Test.java index 769c966d7..dfc0f8b7f 100644 --- a/slack-api-client/src/test/java/test_with_remote_apis/methods_admin_api/AdminApi_analytics_Test.java +++ b/slack-api-client/src/test/java/test_with_remote_apis/methods_admin_api/AdminApi_analytics_Test.java @@ -53,7 +53,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("2023-10-20") + .date("2024-01-20") .type("member") ).get(); assertNull(response.getError()); @@ -86,7 +86,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("2023-10-20") + .date("2024-01-20") .type("member") ).get(); assertNull(response.getError()); @@ -105,7 +105,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("2023-10-20") + .date("2024-01-20") .type("member") ).get(); assertNotNull(response.getFileStream()); @@ -130,7 +130,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("2023-10-20") + .date("2024-01-20") .type("public_channel") ).get(); assertNull(response.getError()); @@ -166,7 +166,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("2023-10-20") + .date("2024-01-20") .type("public_channel") ).get(); assertNull(response.getError()); diff --git a/slack-api-client/src/test/java/test_with_remote_apis/methods_admin_api/AdminApi_functions_Test.java b/slack-api-client/src/test/java/test_with_remote_apis/methods_admin_api/AdminApi_functions_Test.java index 6321a43aa..451649643 100644 --- a/slack-api-client/src/test/java/test_with_remote_apis/methods_admin_api/AdminApi_functions_Test.java +++ b/slack-api-client/src/test/java/test_with_remote_apis/methods_admin_api/AdminApi_functions_Test.java @@ -46,6 +46,7 @@ public void adminFunctions() throws Exception { List functionIds = response.getFunctions().stream().map(AppFunction::getId).collect(Collectors.toList()); AdminFunctionsPermissionsLookupResponse permissions = methodsAsync.adminFunctionsPermissionsLookup(r -> r.functionIds(functionIds)).get(); + // TODO: starting in Nov 2024, this API call returns "internal_error" assertThat(permissions.getError(), is(nullValue())); String userId = methodsAsync.authTest(r -> r).get().getUserId(); AdminFunctionsPermissionsSetResponse set = methodsAsync.adminFunctionsPermissionsSet(r -> r