Merge commit 'e89acc2302df49cbd7815b031e9c2939632bd204' into glitch-soc/merge-upstream
Conflicts: - `yarn.lock`: Conflict because of an extra dependency in glitch-soc. Updated upstream's dependencies as upstream did.
This commit is contained in:
commit
2ebf6d60a6
183 files changed
+959
-366
No files matched your search
@@ -107,7 +107,8 @@ RSpec.describe 'API V1 Annual Reports' do
|
||||
before do
|
||||
travel_to Time.utc(2025, 12, 20)
|
||||
|
||||
status = Fabricate(:status, visibility: :public, account: user.account)
|
||||
# Define the ID manually as it is otherwise handled by the database, which is not affected by `travel_to`
|
||||
status = Fabricate(:status, visibility: :public, account: user.account, id: Mastodon::Snowflake.id_at(Time.now.utc))
|
||||
status.tags << Fabricate(:tag)
|
||||
end
|
||||
|
||||
@@ -129,7 +130,8 @@ RSpec.describe 'API V1 Annual Reports' do
|
||||
before do
|
||||
travel_to Time.utc(2025, 6, 20)
|
||||
|
||||
status = Fabricate(:status, visibility: :public, account: user.account)
|
||||
# Define the ID manually as it is otherwise handled by the database, which is not affected by `travel_to`
|
||||
status = Fabricate(:status, visibility: :public, account: user.account, id: Mastodon::Snowflake.id_at(Time.now.utc))
|
||||
status.tags << Fabricate(:tag)
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user