This website requires JavaScript.
Explore
Help
Sign In
OpenCloud
/
mastodon
mirror of
https://github.com/tootsuite/mastodon
Watch
1
Star
1
Fork
You've already forked mastodon
0
Code
Issues
Releases
Wiki
Activity
2f606ba122
mastodon
/
spec
/
fabricators
/
list_account_fabricator.rb
8 lines
106 B
Ruby
Raw
Normal View
History
Unescape
Escape
Enable Style/FrozenStringLiteralComment for specs (#23790)
2023-02-22 01:55:31 +01:00
# frozen_string_literal: true
Lists (#5703) * Add structure for lists * Add list timeline streaming API * Add list APIs, bind list-account relation to follow relation * Add API for adding/removing accounts from lists * Add pagination to lists API * Add pagination to list accounts API * Adjust scopes for new APIs - Creating and modifying lists merely requires "write" scope - Fetching information about lists merely requires "read" scope * Add test for wrong user context on list timeline * Clean up tests
2017-11-18 00:16:48 +01:00
Fabricator
(
:list_account
)
do
list
nil
account
nil
follow
nil
end