Add more tests for SubredditService

Signed-off-by: Vartan Benohanian <vartanbeno@gmail.com>
This commit is contained in:
Vartan Benohanian
2020-07-21 23:59:53 -04:00
parent 2ea893ab16
commit d142255dbd
4 changed files with 290 additions and 61 deletions
+11
View File
@@ -0,0 +1,11 @@
{
"names": [
"golang",
"golang_infosec",
"GolangJobOfferings",
"golanguage",
"golang2",
"GolangUnofficial",
"golang_jobs"
]
}
+74
View File
@@ -0,0 +1,74 @@
{
"subreddits": [
{
"active_user_count": 531,
"icon_img": "",
"key_color": "",
"name": "golang",
"subscriber_count": 119722,
"is_chat_post_feature_enabled": false,
"allow_chat_post_creation": false,
"allow_images": true
},
{
"active_user_count": 0,
"icon_img": "",
"key_color": "",
"name": "golang_infosec",
"subscriber_count": 1776,
"is_chat_post_feature_enabled": true,
"allow_chat_post_creation": false,
"allow_images": true
},
{
"active_user_count": 1,
"icon_img": "",
"key_color": "",
"name": "GolangJobOfferings",
"subscriber_count": 863,
"is_chat_post_feature_enabled": true,
"allow_chat_post_creation": false,
"allow_images": true
},
{
"active_user_count": 0,
"icon_img": "",
"key_color": "#24a0ed",
"name": "golang2",
"subscriber_count": 626,
"is_chat_post_feature_enabled": false,
"allow_chat_post_creation": false,
"allow_images": true
},
{
"active_user_count": 4,
"icon_img": "",
"key_color": "",
"name": "GolangUnofficial",
"subscriber_count": 239,
"is_chat_post_feature_enabled": false,
"allow_chat_post_creation": false,
"allow_images": true
},
{
"active_user_count": 4,
"icon_img": "",
"key_color": "",
"name": "golanguage",
"subscriber_count": 247,
"is_chat_post_feature_enabled": false,
"allow_chat_post_creation": false,
"allow_images": true
},
{
"active_user_count": 4,
"icon_img": "",
"key_color": "",
"name": "golang_jobs",
"subscriber_count": 16,
"is_chat_post_feature_enabled": false,
"allow_chat_post_creation": false,
"allow_images": true
}
]
}