Merge remote-tracking branch 'origin/master' into gs-master
Conflicts: app/serializers/initial_state_serializer.rb The glitch flavour isn't yet pulling custom emoji data on its own (see https://github.com/tootsuite/mastodon/pull/7047). Once that gets into the glitch flavour, we can eliminate the custom_emojis load.
This commit is contained in:
commit
67e77f230e
61 changed files with 373 additions and 1436 deletions
|
@ -28,6 +28,10 @@ describe Api::V1::Accounts::CredentialsController do
|
|||
note: "Hi!\n\nToot toot!",
|
||||
avatar: fixture_file_upload('files/avatar.gif', 'image/gif'),
|
||||
header: fixture_file_upload('files/attachment.jpg', 'image/jpeg'),
|
||||
source: {
|
||||
privacy: 'unlisted',
|
||||
sensitive: true,
|
||||
}
|
||||
}
|
||||
end
|
||||
|
||||
|
@ -42,6 +46,8 @@ describe Api::V1::Accounts::CredentialsController do
|
|||
expect(user.account.note).to eq("Hi!\n\nToot toot!")
|
||||
expect(user.account.avatar).to exist
|
||||
expect(user.account.header).to exist
|
||||
expect(user.setting_default_privacy).to eq('unlisted')
|
||||
expect(user.setting_default_sensitive).to eq(true)
|
||||
end
|
||||
|
||||
it 'queues up an account update distribution' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue