Merge commit '3dcf5e12b1ffb8e57a7c1e1f3f1145c9bae477e8' into glitch-soc/merge-upstream
Conflicts: - `app/javascript/styles/mastodon/components.scss`: Conflict because one of the removed lines was modified to accomodate for glitch-soc's slightly different build system. Removed the lines as upstream did.
This commit is contained in:
commit
05e5db91c7
44 files changed
+939
-908
No files matched your search
@@ -319,6 +319,16 @@ RSpec.describe NotifyService do
|
||||
end
|
||||
end
|
||||
|
||||
context 'when sender is a moderator' do
|
||||
let(:sender_role) { Fabricate(:user_role, highlighted: true, permissions: UserRole::FLAGS[:manage_users]) }
|
||||
let(:sender) { Fabricate(:user, role: sender_role).account }
|
||||
let(:activity) { Fabricate(:mention, status: Fabricate(:status, account: sender)) }
|
||||
|
||||
it 'returns false' do
|
||||
expect(subject.filter?).to be false
|
||||
end
|
||||
end
|
||||
|
||||
context 'when sender is followed by recipient' do
|
||||
before do
|
||||
notification.account.follow!(notification.from_account)
|
||||
|
||||
@@ -26,8 +26,8 @@ RSpec.describe 'OCR', :attachment_processing, :inline_jobs, :js, :streaming do
|
||||
end
|
||||
end
|
||||
|
||||
click_on('Detect text from picture')
|
||||
click_on('Add text from image')
|
||||
|
||||
expect(page).to have_css('#upload-modal__description', text: /Hello Mastodon\s*/, wait: 10)
|
||||
expect(page).to have_css('#description', text: /Hello Mastodon\s*/, wait: 10)
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user