Skip to content

Commit 7df1713

Browse files
committed
Test fixes
1 parent 925798d commit 7df1713

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/github/repositories_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1246,6 +1246,7 @@ func Test_CreateOrUpdateFile(t *testing.T) {
12461246
"message": "Update without SHA",
12471247
"content": "IyBVcGRhdGVkCgpVcGRhdGVkIHdpdGhvdXQgU0hBLg==",
12481248
"branch": "main",
1249+
"sha": "existing123", // SHA is automatically added from ETag
12491250
}).andThen(
12501251
mockResponse(t, http.StatusOK, mockFileResponse),
12511252
),

0 commit comments

Comments
 (0)