aboutsummaryrefslogtreecommitdiffstats
path: root/integrations
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-12-09 20:03:19 +0100
committerGitHub <noreply@github.com>2020-12-09 14:03:19 -0500
commitc85bb6263503ebd335863f413214a775973a1fac (patch)
tree4264266101a847d0895d6c9ad6442f9cb240b1db /integrations
parent6edfa6bc88ed73fc5a31f1b2fe9f5587c932ada7 (diff)
downloadgitea-c85bb6263503ebd335863f413214a775973a1fac.tar.gz
gitea-c85bb6263503ebd335863f413214a775973a1fac.zip
Replace more icons with SVG, repo search tweaks (#13860)
* Replace more icons with SVG - Replace remaining icons on admin page with SVG - Fix vertical menu background on arc-green - Minor improvments to frontpage repo search - More icon replacements here and there * fix integration * whitespace tweak * add comment Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'integrations')
-rw-r--r--integrations/auth_ldap_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/integrations/auth_ldap_test.go b/integrations/auth_ldap_test.go
index 1569458418..a3ed172ba9 100644
--- a/integrations/auth_ldap_test.go
+++ b/integrations/auth_ldap_test.go
@@ -172,14 +172,14 @@ func TestLDAPUserSync(t *testing.T) {
assert.Equal(t, u.UserName, strings.TrimSpace(tds.Find("td:nth-child(2) a").Text()))
assert.Equal(t, u.Email, strings.TrimSpace(tds.Find("td:nth-child(3) span").Text()))
if u.IsAdmin {
- assert.True(t, tds.Find("td:nth-child(5) i").HasClass("fa-check-square-o"))
+ assert.True(t, tds.Find("td:nth-child(5) svg").HasClass("octicon-check"))
} else {
- assert.True(t, tds.Find("td:nth-child(5) i").HasClass("fa-square-o"))
+ assert.True(t, tds.Find("td:nth-child(5) svg").HasClass("octicon-x"))
}
if u.IsRestricted {
- assert.True(t, tds.Find("td:nth-child(6) i").HasClass("fa-check-square-o"))
+ assert.True(t, tds.Find("td:nth-child(6) svg").HasClass("octicon-check"))
} else {
- assert.True(t, tds.Find("td:nth-child(6) i").HasClass("fa-square-o"))
+ assert.True(t, tds.Find("td:nth-child(6) svg").HasClass("octicon-x"))
}
}