You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DEPRECATION WARNING: Icon facebook not found. Register it with
Decidim.icons.register(name: "facebook", icon: "facebook", category: "system", description: "", engine: :core)
(called from oauth_icon at /Users/maki/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/bundler/gems/omniauth-cityos-dcp-0fd1f02e17f0/lib/omniauth/cityos_dcp_login/helpers/custom_omniauth_helper.rb:24)
DEPRECATION WARNING: Icon x not found. Register it with
Decidim.icons.register(name: "x", icon: "x", category: "system", description: "", engine: :core)
(called from oauth_icon at /Users/maki/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/bundler/gems/omniauth-cityos-dcp-0fd1f02e17f0/lib/omniauth/cityos_dcp_login/helpers/custom_omniauth_helper.rb:24)
DEPRECATION WARNING: Icon google not found. Register it with
Decidim.icons.register(name: "google", icon: "google", category: "system", description: "", engine: :core)
(called from oauth_icon at /Users/maki/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/bundler/gems/omniauth-cityos-dcp-0fd1f02e17f0/lib/omniauth/cityos_dcp_login/helpers/custom_omniauth_helper.rb:24)
DEPRECATION WARNING: Icon facebook not found. Register it with
Decidim.icons.register(name: "facebook", icon: "facebook", category: "system", description: "", engine: :core)
(called from oauth_icon at /Users/maki/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/bundler/gems/omniauth-cityos-dcp-0fd1f02e17f0/lib/omniauth/cityos_dcp_login/helpers/custom_omniauth_helper.rb:24)
DEPRECATION WARNING: Icon x not found. Register it with
Decidim.icons.register(name: "x", icon: "x", category: "system", description: "", engine: :core)
(called from oauth_icon at /Users/maki/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/bundler/gems/omniauth-cityos-dcp-0fd1f02e17f0/lib/omniauth/cityos_dcp_login/helpers/custom_omniauth_helper.rb:24)
DEPRECATION WARNING: Icon google not found. Register it with
Decidim.icons.register(name: "google", icon: "google", category: "system", description: "", engine: :core)
背景と修正の概要
こちらのgemを組み込んだ形でDecidimインスタンスのテストを実行すると、以下のような警告が出るようでした。
現在の状況
GitHub Actionsだと以下のようになります。
https://github.com/codeforjapan/decidim-cfj/actions/runs/13110282893/job/36572494144#step:13:61
確認環境
確認手順
decidim-cfjをclone + bundle installした後、以下を実行すると出るはずです。
$ bundle exec rspec ./spec/system/comment_sort_spec.rb
修正する内容
lib/omniauth/cityos_dcp_login/engine.rb
のinitializer等)に以下を追加すると出なくなるはずですこれはremixiconの名前が
foo-fill
やfoo-line
のような命名になっているため、それに合わせる必要があるのでした。例: https://remixicon.com/icon/google-fill
修正確認の手順と期待する結果
bundle exec rspec ./spec/system/comment_sort_spec.rb
を実行しても上記の警告が出なくなるThe text was updated successfully, but these errors were encountered: