Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: update to latest elm-mastodon lib version #269

Merged
merged 1 commit into from
Jun 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
93 changes: 93 additions & 0 deletions tests/Fixtures.elm
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,28 @@ accountSkro : Account
accountSkro =
{ acct = "SkroZoC"
, avatar = ""
, avatar_static = ""
, bot = False
, created_at = "2017-04-24T20:25:37.398Z"
, discoverable = Nothing
, display_name = "Skro"
, emojis = []
, fields = []
, followers_count = 77
, following_count = 80
, group = False
, header = ""
, header_static = ""
, id = "1391"
, last_status_at = Nothing
, limited = Nothing
, locked = False
, moved = Nothing
, mute_expires_at = Nothing
, noindex = Nothing
, note = "Skro note"
, statuses_count = 161
, suspended = Nothing
, url = "https://mamot.fr/@SkroZoC"
, username = "SkroZoC"
}
Expand All @@ -26,16 +38,28 @@ accountVjousse : Account
accountVjousse =
{ acct = "vjousse"
, avatar = ""
, avatar_static = ""
, bot = False
, created_at = "2017-04-20T14:31:05.751Z"
, discoverable = Nothing
, display_name = "Vincent Jousse"
, emojis = []
, fields = []
, followers_count = 68
, following_count = 31
, group = False
, header = ""
, header_static = ""
, id = "26303"
, last_status_at = Nothing
, limited = Nothing
, locked = False
, moved = Nothing
, mute_expires_at = Nothing
, noindex = Nothing
, note = "Vjousse note"
, statuses_count = 88
, suspended = Nothing
, url = "https://mamot.fr/@vjousse"
, username = "vjousse"
}
Expand All @@ -45,16 +69,28 @@ accountNico : Account
accountNico =
{ acct = "n1k0"
, avatar = ""
, avatar_static = ""
, bot = False
, created_at = "2017-04-14T08:28:59.706Z"
, discoverable = Nothing
, display_name = "NiKo`"
, emojis = []
, fields = []
, followers_count = 162
, following_count = 79
, group = False
, header = ""
, header_static = ""
, id = "17784"
, last_status_at = Nothing
, limited = Nothing
, locked = False
, moved = Nothing
, mute_expires_at = Nothing
, noindex = Nothing
, note = "Niko note"
, statuses_count = 358
, suspended = Nothing
, url = "https://mamot.fr/@n1k0"
, username = "n1k0"
}
Expand All @@ -64,16 +100,28 @@ accountPloum : Account
accountPloum =
{ acct = "ploum"
, avatar = ""
, avatar_static = ""
, bot = False
, created_at = "2017-04-08T09:37:34.931Z"
, discoverable = Nothing
, display_name = "ploum"
, emojis = []
, fields = []
, followers_count = 1129
, following_count = 91
, group = False
, header = ""
, header_static = ""
, id = "6840"
, last_status_at = Nothing
, limited = Nothing
, moved = Nothing
, mute_expires_at = Nothing
, locked = False
, noindex = Nothing
, note = "Ploum note"
, statuses_count = 601
, suspended = Nothing
, url = "https://mamot.fr/@ploum"
, username = "ploum"
}
Expand All @@ -83,23 +131,32 @@ statusNico : Status
statusNico =
{ account = accountNico
, application = Nothing
, bookmarked = Just False
, card = Nothing
, content = "<p>hello</p>"
, created_at = "2017-04-24T20:12:20.922Z"
, edited_at = Nothing
, emojis = []
, favourited = Nothing
, favourites_count = 0
, filtered = Nothing
, id = StatusId "737931"
, in_reply_to_account_id = Nothing
, in_reply_to_id = Nothing
, language = Just "fr"
, media_attachments = []
, mentions = []
, muted = Nothing
, pinned = Just False
, poll = Nothing
, reblog = Nothing
, reblogged = Nothing
, reblogs_count = 0
, replies_count = 2
, sensitive = Just False
, spoiler_text = ""
, tags = []
, text = Nothing
, uri = "tag:mamot.fr,2017-04-24:objectId=737932:objectType=Status"
, url = Just "https://mamot.fr/@n1k0/737931"
, visibility = "public"
Expand All @@ -110,15 +167,19 @@ statusNicoToVjousse : Status
statusNicoToVjousse =
{ account = accountNico
, application = Nothing
, bookmarked = Just False
, card = Nothing
, content = "<p>@vjousse coucou</p>"
, created_at = "2017-04-24T20:16:20.922Z"
, edited_at = Nothing
, emojis = []
, favourited = Nothing
, favourites_count = 0
, filtered = Nothing
, id = StatusId "737932"
, in_reply_to_account_id = Just "26303"
, in_reply_to_id = Just <| StatusId "737425"
, language = Just "fr"
, media_attachments = []
, mentions =
[ { id = "26303"
Expand All @@ -127,12 +188,17 @@ statusNicoToVjousse =
, acct = "vjousse"
}
]
, muted = Nothing
, pinned = Just False
, poll = Nothing
, reblog = Nothing
, reblogged = Nothing
, reblogs_count = 0
, replies_count = 1
, sensitive = Just False
, spoiler_text = ""
, tags = []
, text = Nothing
, uri = "tag:mamot.fr,2017-04-24:objectId=737932:objectType=Status"
, url = Just "https://mamot.fr/@n1k0/737932"
, visibility = "public"
Expand All @@ -143,15 +209,19 @@ statusNicoToVjousseAgain : Status
statusNicoToVjousseAgain =
{ account = accountNico
, application = Nothing
, bookmarked = Just False
, card = Nothing
, content = "<p>@vjousse recoucou</p>"
, created_at = "2017-04-25T07:41:23.492Z"
, edited_at = Nothing
, emojis = []
, favourited = Nothing
, favourites_count = 0
, filtered = Nothing
, id = StatusId "752169"
, in_reply_to_account_id = Just "26303"
, in_reply_to_id = Just <| StatusId "752153"
, language = Just "fr"
, media_attachments = []
, mentions =
[ { id = "26303"
Expand All @@ -160,12 +230,17 @@ statusNicoToVjousseAgain =
, acct = "vjousse"
}
]
, muted = Nothing
, pinned = Just False
, poll = Nothing
, reblog = Nothing
, reblogged = Nothing
, reblogs_count = 0
, replies_count = 3
, sensitive = Just False
, spoiler_text = ""
, tags = []
, text = Nothing
, uri = "tag:mamot.fr,2017-04-25:objectId=752169:objectType=Status"
, url = Just "https://mamot.fr/@n1k0/752169"
, visibility = "public"
Expand All @@ -176,15 +251,19 @@ statusPloumToVjousse : Status
statusPloumToVjousse =
{ account = accountPloum
, application = Nothing
, bookmarked = Just False
, card = Nothing
, content = "<p>hey @vjousse</p>"
, created_at = "2017-04-25T07:41:23.492Z"
, edited_at = Nothing
, emojis = []
, favourited = Nothing
, favourites_count = 0
, filtered = Nothing
, id = StatusId "752169"
, in_reply_to_account_id = Nothing
, in_reply_to_id = Nothing
, language = Just "fr"
, media_attachments = []
, mentions =
[ { id = "26303"
Expand All @@ -193,12 +272,17 @@ statusPloumToVjousse =
, acct = "vjousse"
}
]
, muted = Nothing
, pinned = Just False
, poll = Nothing
, reblog = Nothing
, reblogged = Nothing
, reblogs_count = 0
, replies_count = 10
, sensitive = Just False
, spoiler_text = ""
, tags = []
, text = Nothing
, uri = "tag:mamot.fr,2017-04-25:objectId=752169:objectType=Status"
, url = Just "https://mamot.fr/@n1k0/752169"
, visibility = "public"
Expand All @@ -209,23 +293,32 @@ statusReblogged : Status
statusReblogged =
{ account = accountVjousse
, application = Nothing
, bookmarked = Just False
, card = Nothing
, content = "<p>fake post</p>"
, created_at = "2017-04-24T20:16:20.922Z"
, edited_at = Nothing
, emojis = []
, favourited = Nothing
, favourites_count = 0
, filtered = Nothing
, id = StatusId "737932"
, in_reply_to_account_id = Nothing
, in_reply_to_id = Nothing
, language = Just "fr"
, media_attachments = []
, mentions = []
, muted = Nothing
, pinned = Just False
, poll = Nothing
, reblog = Just (Reblog statusPloumToVjousse)
, reblogged = Nothing
, reblogs_count = 0
, replies_count = 0
, sensitive = Just False
, spoiler_text = ""
, tags = []
, text = Nothing
, uri = "tag:mamot.fr,2017-04-24:objectId=737932:objectType=Status"
, url = Just "https://mamot.fr/@n1k0/737932"
, visibility = "public"
Expand Down
Loading