Fix: 登録時間帯のテストのエラー (#569)

* Fix: 登録時間帯のテストのエラー

* Fix test
This commit is contained in:
KMY(雪あすか) 2024-02-16 21:54:53 +09:00 committed by GitHub
parent 2b078b83c0
commit dbbca0300d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View file

@ -47,11 +47,11 @@ const messages = defineMessages({
}, },
limited_short: { limited_short: {
id: 'privacy.limited.short', id: 'privacy.limited.short',
defaultMessage: 'Limited menbers only', defaultMessage: 'Limited',
}, },
mutual_short: { mutual_short: {
id: 'privacy.mutual.short', id: 'privacy.mutual.short',
defaultMessage: 'Mutual only', defaultMessage: 'Mutual',
}, },
circle_short: { circle_short: {
id: 'privacy.circle.short', id: 'privacy.circle.short',

View file

@ -557,7 +557,7 @@
"privacy.login.long": "Visible for login users only", "privacy.login.long": "Visible for login users only",
"privacy.login.short": "Login only", "privacy.login.short": "Login only",
"privacy.mutual.long": "Mutual followers only", "privacy.mutual.long": "Mutual followers only",
"privacy.mutual.short": "Mutual only", "privacy.mutual.short": "Mutual",
"privacy.personal.short": "Yourself only", "privacy.personal.short": "Yourself only",
"privacy.private.long": "Only your followers", "privacy.private.long": "Only your followers",
"privacy.private.short": "Followers", "privacy.private.short": "Followers",

View file

@ -409,7 +409,7 @@ RSpec.describe Auth::RegistrationsController do
current = Time.now.utc current = Time.now.utc
today = current.beginning_of_day today = current.beginning_of_day
today += 1.day if current.hour > 10 today += 1.day if current.hour >= 10
travel_to today + 10.hours travel_to today + 10.hours
end end