loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: fix ci failure (#6738)

- #6727 added this test and #6726 modified it to also include webauthn
users. The former was not rebased on the latter when it was merged.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6738
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>

authored by

Gusted
Gusted
and committed by
Gusted
1698210e dfcf3f11

+2 -1
+2 -1
tests/integration/admin_user_test.go
··· 38 38 htmlDoc := NewHTMLParser(t, resp.Body) 39 39 40 40 // 6th column is the 2FA column. 41 - htmlDoc.AssertElement(t, ".admin-setting-content table tbody tr td:nth-child(6) .octicon-check", true) 41 + // One user that has TOTP and another user that has WebAuthn. 42 + assert.EqualValues(t, 2, htmlDoc.Find(".admin-setting-content table tbody tr td:nth-child(6) .octicon-check").Length()) 42 43 }) 43 44 44 45 t.Run("Normal user", func(t *testing.T) {