Skip to content

Commit af96a49

Browse files
committed
Run all the integration tests - 2024-08-20 PT
1 parent 84e31c2 commit af96a49

File tree

2 files changed

+2
-26
lines changed

2 files changed

+2
-26
lines changed

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

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -49,18 +49,6 @@
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": ""
6452
}
6553
],
6654
"C00000001": [
@@ -77,18 +65,6 @@
7765
"thread_ts": "0000000000.000000",
7866
"latest_reply": "0000000000.000000",
7967
"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": ""
9268
}
9369
]
9470
}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1214,7 +1214,7 @@ public void issue1345_filesUploadV2_multiple_no_filename() throws IOException, S
12141214

12151215
assertThat(response.getError(), is(nullValue()));
12161216
// filename defaults to "Uploaded file", which will be converted by slack servers to be lowercase only, contain no special characters but underscores, dots and dashes, etc.
1217-
assertThat(response.getFiles().get(0).getName(), is("uploaded_file"));
1217+
assertThat(response.getFiles().get(0).getName(), is("Uploaded file"));
12181218
// title should be unaffected if it has a value set
12191219
assertThat(response.getFiles().get(0).getTitle(), is("issue1345 test"));
12201220
}
@@ -1250,7 +1250,7 @@ public void issue1345_filesUploadV2_multiple_no_filename_no_title() throws IOExc
12501250

12511251
assertThat(response.getError(), is(nullValue()));
12521252
// filename defaults to "Uploaded file", which will be converted by slack servers to be lowercase only, contain no special characters but underscores, dots and dashes, etc.
1253-
assertThat(response.getFiles().get(0).getName(), is("uploaded_file"));
1253+
assertThat(response.getFiles().get(0).getName(), is("Uploaded file"));
12541254
// title defaults to filename, which is (as this is defaulted on the client side) "Uploaded file"
12551255
assertThat(response.getFiles().get(0).getTitle(), is("Uploaded file"));
12561256
}

0 commit comments

Comments
 (0)