Skip to content

Commit d6caf68

Browse files
committed
Run all tests with the latest APIs
1 parent 4dd8773 commit d6caf68

File tree

3 files changed

+72
-1
lines changed

3 files changed

+72
-1
lines changed

json-logs/samples/api/channels.history.json

+35
Original file line numberDiff line numberDiff line change
@@ -1102,6 +1102,41 @@
11021102
"permalink_public": "https://www.example.com/",
11031103
"is_starred": false,
11041104
"has_rich_preview": false
1105+
},
1106+
{
1107+
"id": "F00000000",
1108+
"created": 12345,
1109+
"timestamp": 12345,
1110+
"name": "",
1111+
"title": "",
1112+
"mimetype": "",
1113+
"filetype": "",
1114+
"pretty_type": "",
1115+
"user": "U00000000",
1116+
"editable": false,
1117+
"size": 12345,
1118+
"mode": "",
1119+
"is_external": false,
1120+
"external_type": "",
1121+
"is_public": false,
1122+
"public_url_shared": false,
1123+
"display_as_bot": false,
1124+
"username": "",
1125+
"url_private": "https://www.example.com/",
1126+
"url_private_download": "https://www.example.com/",
1127+
"thumb_64": "https://www.example.com/",
1128+
"thumb_80": "https://www.example.com/",
1129+
"thumb_360": "https://www.example.com/",
1130+
"thumb_360_w": 12345,
1131+
"thumb_360_h": 12345,
1132+
"thumb_160": "https://www.example.com/",
1133+
"original_w": 12345,
1134+
"original_h": 12345,
1135+
"thumb_tiny": "",
1136+
"permalink": "https://www.example.com/",
1137+
"permalink_public": "https://www.example.com/",
1138+
"is_starred": false,
1139+
"has_rich_preview": false
11051140
}
11061141
],
11071142
"upload": false,

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

+35
Original file line numberDiff line numberDiff line change
@@ -1104,6 +1104,41 @@
11041104
"permalink_public": "https://www.example.com/",
11051105
"is_starred": false,
11061106
"has_rich_preview": false
1107+
},
1108+
{
1109+
"id": "F00000000",
1110+
"created": 12345,
1111+
"timestamp": 12345,
1112+
"name": "",
1113+
"title": "",
1114+
"mimetype": "",
1115+
"filetype": "",
1116+
"pretty_type": "",
1117+
"user": "U00000000",
1118+
"editable": false,
1119+
"size": 12345,
1120+
"mode": "",
1121+
"is_external": false,
1122+
"external_type": "",
1123+
"is_public": false,
1124+
"public_url_shared": false,
1125+
"display_as_bot": false,
1126+
"username": "",
1127+
"url_private": "https://www.example.com/",
1128+
"url_private_download": "https://www.example.com/",
1129+
"thumb_64": "https://www.example.com/",
1130+
"thumb_80": "https://www.example.com/",
1131+
"thumb_360": "https://www.example.com/",
1132+
"thumb_360_w": 12345,
1133+
"thumb_360_h": 12345,
1134+
"thumb_160": "https://www.example.com/",
1135+
"original_w": 12345,
1136+
"original_h": 12345,
1137+
"thumb_tiny": "",
1138+
"permalink": "https://www.example.com/",
1139+
"permalink_public": "https://www.example.com/",
1140+
"is_starred": false,
1141+
"has_rich_preview": false
11071142
}
11081143
],
11091144
"upload": false,

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,8 @@ public void createImageFileAndComments() throws IOException, SlackApiException {
267267
assertThat(fileObj.getSize(), is(29720));
268268
assertThat(fileObj.isEditable(), is(false));
269269

270-
assertThat(fileObj.getImageExifRotation(), is(1));
270+
// NOTE: This value use to be 1 until April 15, 2020
271+
assertThat(fileObj.getImageExifRotation(), is(nullValue()));
271272
assertThat(fileObj.getPjpeg(), is(nullValue()));
272273
assertThat(fileObj.getOriginalWidth(), is("400"));
273274
assertThat(fileObj.getThumb360Width(), is("360"));

0 commit comments

Comments
 (0)