Skip to content

Commit

Permalink
Fix: 登録時間帯のテストのエラー (#569)
Browse files Browse the repository at this point in the history
* Fix: 登録時間帯のテストのエラー

* Fix test
  • Loading branch information
kmycode authored Feb 16, 2024
1 parent 2b078b8 commit dbbca03
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/javascript/mastodon/components/visibility_icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ const messages = defineMessages({
},
limited_short: {
id: 'privacy.limited.short',
defaultMessage: 'Limited menbers only',
defaultMessage: 'Limited',
},
mutual_short: {
id: 'privacy.mutual.short',
defaultMessage: 'Mutual only',
defaultMessage: 'Mutual',
},
circle_short: {
id: 'privacy.circle.short',
Expand Down
2 changes: 1 addition & 1 deletion app/javascript/mastodon/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@
"privacy.login.long": "Visible for login users only",
"privacy.login.short": "Login only",
"privacy.mutual.long": "Mutual followers only",
"privacy.mutual.short": "Mutual only",
"privacy.mutual.short": "Mutual",
"privacy.personal.short": "Yourself only",
"privacy.private.long": "Only your followers",
"privacy.private.short": "Followers",
Expand Down
2 changes: 1 addition & 1 deletion spec/controllers/auth/registrations_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ def create_other_user

current = Time.now.utc
today = current.beginning_of_day
today += 1.day if current.hour > 10
today += 1.day if current.hour >= 10
travel_to today + 10.hours
end

Expand Down

0 comments on commit dbbca03

Please sign in to comment.