Use official "Log in to Microsoft" icon
Downloaded from https://learn.microsoft.com/en-us/entra/identity-platform/howto-add-branding-in-apps on 2024-03-15.
This commit is contained in:
parent
3b143dc2b4
commit
518f55c191
4 changed files with 15 additions and 4 deletions
|
@ -116,7 +116,7 @@ class UserHelperTest < ActionView::TestCase
|
|||
|
||||
def test_auth_button
|
||||
button = auth_button("google", "google")
|
||||
img_tag = "<img alt=\"Log in with a Google OpenID\" class=\"rounded-3\" src=\"/images/google.svg\" />"
|
||||
img_tag = "<img alt=\"Log in with a Google OpenID\" class=\"rounded-3\" src=\"/images/google.svg\" width=\"36\" height=\"36\" />"
|
||||
assert_equal("<a class=\"auth_button\" title=\"Log in with Google\" rel=\"nofollow\" data-method=\"post\" href=\"/auth/google\">#{img_tag}</a>", button)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue