Add: UpdateStatusExpirationServiceのテスト (#908)

* Add: `UpdateStatusExpirationService`のテスト

* Fix test
This commit is contained in:
KMY(雪あすか) 2024-11-13 12:32:20 +09:00 committed by GitHub
parent 7b922c8af8
commit 54ea89de9f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 81 additions and 0 deletions

View file

@ -0,0 +1,7 @@
# frozen_string_literal: true
Fabricator(:scheduled_expiration_status) do
account { Fabricate.build(:account) }
status { Fabricate.build(:status) }
scheduled_at { 20.hours.from_now }
end