Skip to content

Commit e752f23

Browse files
committed
fix TestAPIGetContents
1 parent ee81381 commit e752f23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/api_repo_get_contents_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ func testAPIGetContents(t *testing.T, u *url.URL) {
143143
resp = MakeRequest(t, req, http.StatusOK)
144144
DecodeJSON(t, resp, &contentsResponse)
145145
assert.NotNil(t, contentsResponse)
146-
expectedContentsResponse = getExpectedContentsResponseForContents(ref, refType, commitID)
146+
expectedContentsResponse = getExpectedContentsResponseForContents(ref, refType, "65f1bf27bc3bf70f64657658635e66094edbcb4d") // readme didn't changed since this commit
147147
assert.EqualValues(t, *expectedContentsResponse, contentsResponse)
148148

149149
// Test file contents a file with a bad ref

0 commit comments

Comments
 (0)