Skip to content

Commit

Permalink
Merge pull request #449 from seratch/run-tests-2020-05-07
Browse files Browse the repository at this point in the history
Run all the integration tests (2020-05-07)
  • Loading branch information
seratch authored May 8, 2020
2 parents 3328be4 + 868baa8 commit 335cac2
Show file tree
Hide file tree
Showing 11 changed files with 86 additions and 7 deletions.
35 changes: 35 additions & 0 deletions json-logs/samples/api/channels.history.json
Original file line number Diff line number Diff line change
Expand Up @@ -1137,6 +1137,41 @@
"permalink_public": "https://www.example.com/",
"is_starred": false,
"has_rich_preview": false
},
{
"id": "F00000000",
"created": 12345,
"timestamp": 12345,
"name": "",
"title": "",
"mimetype": "",
"filetype": "",
"pretty_type": "",
"user": "U00000000",
"editable": false,
"size": 12345,
"mode": "",
"is_external": false,
"external_type": "",
"is_public": false,
"public_url_shared": false,
"display_as_bot": false,
"username": "",
"url_private": "https://www.example.com/",
"url_private_download": "https://www.example.com/",
"thumb_64": "https://www.example.com/",
"thumb_80": "https://www.example.com/",
"thumb_360": "https://www.example.com/",
"thumb_360_w": 12345,
"thumb_360_h": 12345,
"thumb_160": "https://www.example.com/",
"image_exif_rotation": 12345,
"original_w": 12345,
"original_h": 12345,
"permalink": "https://www.example.com/",
"permalink_public": "https://www.example.com/",
"is_starred": false,
"has_rich_preview": false
}
],
"upload": false,
Expand Down
3 changes: 2 additions & 1 deletion json-logs/samples/api/rtm.start.json
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,8 @@
},
"use_browser_picker": false,
"filepicker_app_first_install": false,
"created_with_google": false
"created_with_google": false,
"enterprise_has_corporate_exports": false
},
"icon": {
"image_34": "https://www.example.com/",
Expand Down
8 changes: 7 additions & 1 deletion json-logs/samples/api/search.all.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
""
],
"is_pending_ext_shared": false,
"user": "U00000000"
"user": "U00000000",
"name_normalized": ""
},
"type": "",
"username": "",
Expand All @@ -62,6 +63,7 @@
"color": "",
"pretext": "",
"service_url": "",
"author_id": "",
"author_name": "",
"author_link": "",
"author_icon": "",
Expand Down Expand Up @@ -158,6 +160,7 @@
"service_url": "",
"service_name": "",
"service_icon": "",
"author_id": "",
"author_name": "",
"author_link": "",
"author_icon": "",
Expand Down Expand Up @@ -273,6 +276,7 @@
"color": "",
"pretext": "",
"service_url": "",
"author_id": "",
"author_name": "",
"author_link": "",
"author_icon": "",
Expand Down Expand Up @@ -616,6 +620,7 @@
"service_url": "",
"service_name": "",
"service_icon": "",
"author_id": "",
"author_name": "",
"author_link": "",
"author_icon": "",
Expand Down Expand Up @@ -969,6 +974,7 @@
"service_url": "",
"service_name": "",
"service_icon": "",
"author_id": "",
"author_name": "",
"author_link": "",
"author_icon": "",
Expand Down
7 changes: 6 additions & 1 deletion json-logs/samples/api/search.messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
""
],
"is_pending_ext_shared": false,
"user": "U00000000"
"user": "U00000000",
"name_normalized": ""
},
"type": "",
"username": "",
Expand All @@ -62,6 +63,7 @@
"color": "",
"pretext": "",
"service_url": "",
"author_id": "",
"author_name": "",
"author_link": "",
"author_icon": "",
Expand Down Expand Up @@ -158,6 +160,7 @@
"service_url": "",
"service_name": "",
"service_icon": "",
"author_id": "",
"author_name": "",
"author_link": "",
"author_icon": "",
Expand Down Expand Up @@ -630,6 +633,7 @@
"service_url": "",
"service_name": "",
"service_icon": "",
"author_id": "",
"author_name": "",
"author_link": "",
"author_icon": "",
Expand Down Expand Up @@ -742,6 +746,7 @@
"service_url": "",
"service_name": "",
"service_icon": "",
"author_id": "",
"author_name": "",
"author_link": "",
"author_icon": "",
Expand Down
16 changes: 16 additions & 0 deletions json-logs/samples/api/users.conversations.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,27 @@
"topic": "",
"root": {
"text": "",
"user": "",
"username": "",
"team": "",
"bot_id": "",
"mrkdwn": false,
"type": "",
"subtype": "",
"thread_ts": "",
"bot_profile": {
"id": "",
"deleted": false,
"name": "",
"updated": 123,
"app_id": "",
"icons": {
"image_36": "",
"image_48": "",
"image_72": ""
},
"team_id": ""
},
"reply_count": 123,
"reply_users_count": 123,
"latest_reply": "",
Expand Down Expand Up @@ -69,6 +84,7 @@
"unread_count_display": 123,
"user": "",
"priority": 12.3,
"date_connected": 123,
"parent_conversation": "",
"conversation_host_id": "",
"is_channel": false,
Expand Down
3 changes: 2 additions & 1 deletion json-logs/samples/rtm/SubteamCreatedEvent.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
""
]
},
"user_count": ""
"user_count": 123,
"channel_count": 123
},
"event_ts": ""
}
3 changes: 2 additions & 1 deletion json-logs/samples/rtm/SubteamUpdatedEvent.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
""
]
},
"user_count": ""
"user_count": 123,
"channel_count": 123
},
"event_ts": ""
}
6 changes: 5 additions & 1 deletion json-logs/samples/scim/v1/Groups.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,9 @@
"location": "https://www.example.com/"
}
}
]
],
"Errors": {
"description": "",
"code": 12345
}
}
6 changes: 5 additions & 1 deletion json-logs/samples/scim/v1/Users.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,5 +106,9 @@
"manager": {}
}
}
]
],
"Errors": {
"description": "",
"code": 12345
}
}
4 changes: 4 additions & 0 deletions json-logs/samples/scim/v1/Users/00000000000.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,9 @@
],
"urn:scim:schemas:extension:enterprise:1.0": {
"manager": {}
},
"Errors": {
"description": "",
"code": 12345
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ public class Attachment {
// -----------------------------------------
// The author parameters will display a small section at the top of a message attachment that can contain the following fields:

private String authorId;

/**
* Small text used to display the author's name.
*/
Expand Down

0 comments on commit 335cac2

Please sign in to comment.