Skip to content

Commit 0a5deb9

Browse files
committed
Run all the integration tests - 2024-11-25 PT
1 parent cabfc4c commit 0a5deb9

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

slack-api-client/src/test/java/test_with_remote_apis/methods_admin_api/AdminApi_analytics_Test.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public void getFile_member_error() throws Exception {
5353
public void getFile_member_forEach() throws Exception {
5454
if (orgAdminUserToken != null) {
5555
AdminAnalyticsGetFileResponse response = methodsAsync.adminAnalyticsGetFile(r -> r
56-
.date("2023-10-20")
56+
.date("2024-01-20")
5757
.type("member")
5858
).get();
5959
assertNull(response.getError());
@@ -86,7 +86,7 @@ public void getFile_member_forEach() throws Exception {
8686
public void getFile_member_forEach_validation() throws Exception {
8787
if (orgAdminUserToken != null) {
8888
AdminAnalyticsGetFileResponse response = methodsAsync.adminAnalyticsGetFile(r -> r
89-
.date("2023-10-20")
89+
.date("2024-01-20")
9090
.type("member")
9191
).get();
9292
assertNull(response.getError());
@@ -105,7 +105,7 @@ public void getFile_member_forEach_validation() throws Exception {
105105
public void getFile_member_asBytes() throws Exception {
106106
if (orgAdminUserToken != null) {
107107
AdminAnalyticsGetFileResponse response = methodsAsync.adminAnalyticsGetFile(r -> r
108-
.date("2023-10-20")
108+
.date("2024-01-20")
109109
.type("member")
110110
).get();
111111
assertNotNull(response.getFileStream());
@@ -130,7 +130,7 @@ public void getFile_member_asBytes() throws Exception {
130130
public void getFile_public_channel() throws Exception {
131131
if (orgAdminUserToken != null) {
132132
AdminAnalyticsGetFileResponse response = methodsAsync.adminAnalyticsGetFile(r -> r
133-
.date("2023-10-20")
133+
.date("2024-01-20")
134134
.type("public_channel")
135135
).get();
136136
assertNull(response.getError());
@@ -166,7 +166,7 @@ public void getFile_public_channel() throws Exception {
166166
public void getFile_public_channel_validation() throws Exception {
167167
if (orgAdminUserToken != null) {
168168
AdminAnalyticsGetFileResponse response = methodsAsync.adminAnalyticsGetFile(r -> r
169-
.date("2023-10-20")
169+
.date("2024-01-20")
170170
.type("public_channel")
171171
).get();
172172
assertNull(response.getError());

slack-api-client/src/test/java/test_with_remote_apis/methods_admin_api/AdminApi_functions_Test.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ public void adminFunctions() throws Exception {
4646
List<String> functionIds = response.getFunctions().stream().map(AppFunction::getId).collect(Collectors.toList());
4747
AdminFunctionsPermissionsLookupResponse permissions =
4848
methodsAsync.adminFunctionsPermissionsLookup(r -> r.functionIds(functionIds)).get();
49+
// TODO: starting in Nov 2024, this API call returns "internal_error"
4950
assertThat(permissions.getError(), is(nullValue()));
5051
String userId = methodsAsync.authTest(r -> r).get().getUserId();
5152
AdminFunctionsPermissionsSetResponse set = methodsAsync.adminFunctionsPermissionsSet(r -> r

0 commit comments

Comments
 (0)