Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenmcgruer committed Mar 26, 2021
1 parent 007e04f commit 7b0e007
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/test_runs_medium_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ func TestGetTestRuns_SHA(t *testing.T) {
body, _ = ioutil.ReadAll(resp.Result().Body)
assert.Equal(t, http.StatusOK, resp.Code)
json.Unmarshal(body, &results)
assert.Equal(t, 4, len(results))
assert.Equal(t, 3, len(results))
assert.Equal(t, "1111111111", results[0].Revision)
}

Expand Down
2 changes: 1 addition & 1 deletion webdriver/label_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
func TestLabelParam_Results(t *testing.T) {
runWebdriverTest(t, func(t *testing.T, app AppServer, wd selenium.WebDriver) {
aligned := false
testLabel(t, wd, app, "/", "experimental", "wpt-results", 4, aligned)
testLabel(t, wd, app, "/", "experimental", "wpt-results", 3, aligned)
})

}
Expand Down

0 comments on commit 7b0e007

Please sign in to comment.