Fix: リモートから自分のサーバーの絵文字を使ってスタンプをつけられた時、既存の絵文字が消えてしまう場合がある問題

This commit is contained in:
KMY 2023-10-16 18:36:46 +09:00 committed by KMY(雪あすか)
parent 8a05b85d78
commit 243f1dbe8e
2 changed files with 10 additions and 1 deletions

View file

@ -185,6 +185,10 @@ RSpec.describe ActivityPub::Activity::Like do
}
end
before do
Fabricate(:custom_emoji, domain: nil, shortcode: 'tinking', license: 'Everyone but Ohagi')
end
it 'create emoji reaction' do
expect(subject.count).to eq 1
expect(subject.first.name).to eq 'tinking'