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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user