test: refresh authenticated HTML fixtures

Re-captures testdata/html/*.html against the live site with valid
session cookies; the previous user.html was the logged-out interstitial,
which broke TestParseUser_RealFixture entirely. Bumps the expected
Stats.Views in that test to match the new fixture.
This commit is contained in:
2026-06-02 21:23:52 +02:00
parent 20fcad7fbb
commit 25800bc753
12 changed files with 16881 additions and 2142 deletions

View File

@@ -148,8 +148,8 @@ func TestParseUser_RealFixture(t *testing.T) {
if u.Stats.Favorites != 180 {
t.Errorf("Stats.Favorites = %d; want 180", u.Stats.Favorites)
}
if u.Stats.Views != 1176 {
t.Errorf("Stats.Views = %d; want 1176", u.Stats.Views)
if u.Stats.Views != 1184 {
t.Errorf("Stats.Views = %d; want 1184", u.Stats.Views)
}
if u.Stats.Comments != 85 {
t.Errorf("Stats.Comments = %d; want 85", u.Stats.Comments)