spec/fixtures/user.json in discourse_api-0.10.1 vs spec/fixtures/user.json in discourse_api-0.11.0
- old
+ new
@@ -1,65 +1,65 @@
-{
- "user_badges": [],
- "user": {
- "id": 1,
- "username": "test_user",
- "uploaded_avatar_id": null,
- "avatar_template": "/letter_avatar/test/{size}/2.png",
- "name": "Test User",
- "email": "test_user@example.com",
- "last_posted_at": null,
- "last_seen_at": "2014-09-04T08:22:19.370-04:00",
- "bio_cooked": null,
- "created_at": "2014-09-04T08:04:25.104-04:00",
- "can_edit": true,
- "can_edit_username": true,
- "can_edit_email": true,
- "can_edit_name": true,
- "stats": [
- {
- "action_type": 13,
- "count": 1,
- "id": null
- }
- ],
- "can_send_private_message_to_user": true,
- "bio_excerpt": "<div class='missing-profile'>test hasn't entered anything in the About Me field of their profile yet</div>",
- "trust_level": 0,
- "moderator": false,
- "admin": false,
- "title": null,
- "badge_count": 0,
- "has_title_badges": false,
- "custom_fields": {},
- "number_of_deleted_posts": 0,
- "number_of_flagged_posts": 0,
- "number_of_flags_given": 0,
- "number_of_suspensions": 0,
- "locale": null,
- "email_digests": true,
- "email_private_messages": true,
- "email_direct": true,
- "email_always": false,
- "digest_after_days": 7,
- "mailing_list_mode": false,
- "auto_track_topics_after_msecs": 240000,
- "new_topic_duration_minutes": 2880,
- "external_links_in_new_tab": false,
- "dynamic_favicon": false,
- "enable_quoting": true,
- "muted_category_ids": [],
- "tracked_category_ids": [],
- "watched_category_ids": [],
- "private_messages_stats": {
- "all": 1,
- "mine": 0,
- "unread": 0
- },
- "disable_jump_reply": false,
- "gravatar_avatar_upload_id": null,
- "custom_avatar_upload_id": null,
- "invited_by": null,
- "custom_groups": [],
- "featured_user_badge_ids": []
- }
-}
+{
+ "user_badges": [],
+ "user": {
+ "id": 1,
+ "username": "test_user",
+ "uploaded_avatar_id": null,
+ "avatar_template": "/letter_avatar/test/{size}/2.png",
+ "name": "Test User",
+ "email": "test_user@example.com",
+ "last_posted_at": null,
+ "last_seen_at": "2014-09-04T08:22:19.370-04:00",
+ "bio_cooked": null,
+ "created_at": "2014-09-04T08:04:25.104-04:00",
+ "can_edit": true,
+ "can_edit_username": true,
+ "can_edit_email": true,
+ "can_edit_name": true,
+ "stats": [
+ {
+ "action_type": 13,
+ "count": 1,
+ "id": null
+ }
+ ],
+ "can_send_private_message_to_user": true,
+ "bio_excerpt": "<div class='missing-profile'>test hasn't entered anything in the About Me field of their profile yet</div>",
+ "trust_level": 0,
+ "moderator": false,
+ "admin": false,
+ "title": null,
+ "badge_count": 0,
+ "has_title_badges": false,
+ "custom_fields": {},
+ "number_of_deleted_posts": 0,
+ "number_of_flagged_posts": 0,
+ "number_of_flags_given": 0,
+ "number_of_suspensions": 0,
+ "locale": null,
+ "email_digests": true,
+ "email_private_messages": true,
+ "email_direct": true,
+ "email_always": false,
+ "digest_after_days": 7,
+ "mailing_list_mode": false,
+ "auto_track_topics_after_msecs": 240000,
+ "new_topic_duration_minutes": 2880,
+ "external_links_in_new_tab": false,
+ "dynamic_favicon": false,
+ "enable_quoting": true,
+ "muted_category_ids": [],
+ "tracked_category_ids": [],
+ "watched_category_ids": [],
+ "private_messages_stats": {
+ "all": 1,
+ "mine": 0,
+ "unread": 0
+ },
+ "disable_jump_reply": false,
+ "gravatar_avatar_upload_id": null,
+ "custom_avatar_upload_id": null,
+ "invited_by": null,
+ "custom_groups": [],
+ "featured_user_badge_ids": []
+ }
+}