Skip to content

Commit 3230afd

Browse files
committed
Use another repo for testing
1 parent 30a2ff1 commit 3230afd

File tree

10 files changed

+4
-4
lines changed

10 files changed

+4
-4
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
65f1bf27bc3bf70f64657658635e66094edbcb4d
1+
c566fa45406b2f02c181df08077a03f177cf9ba8
Binary file not shown.
Binary file not shown.
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
34865bf344ac1b427da08fcb845a2eab4706067c
1+
65f1bf27bc3bf70f64657658635e66094edbcb4d

tests/integration/api_repo_get_contents_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,14 +193,14 @@ func TestAPIGetContentsRefFormats(t *testing.T) {
193193
assert.EqualValues(t, content, string(raw))
194194

195195
// Test with a filepath with 40 characters
196-
fileWith40c := setting.AppURL + "api/v1/repos/user2/repo1/raw/" + "a_file_path_with_40_characters_for_tests"
196+
fileWith40c := setting.AppURL + "api/v1/repos/user13/repo11/raw/" + "a_file_path_with_40_characters_for_tests"
197197
resp = MakeRequest(t, NewRequest(t, http.MethodGet, fileWith40c), http.StatusOK)
198198
raw, err = io.ReadAll(resp.Body)
199199
assert.NoError(t, err)
200200
assert.EqualValues(t, "# test\n", string(raw))
201201

202202
// Test with a filepath with 40 characters and name is a commit SHA
203-
fileWith40c = setting.AppURL + "api/v1/repos/user2/repo1/raw/" + "65f1bf27bc3bf70f64657658635e66094edbcb4d"
203+
fileWith40c = setting.AppURL + "api/v1/repos/user13/repo11/raw/" + "65f1bf27bc3bf70f64657658635e66094edbcb4d"
204204
resp = MakeRequest(t, NewRequest(t, http.MethodGet, fileWith40c), http.StatusOK)
205205
raw, err = io.ReadAll(resp.Body)
206206
assert.NoError(t, err)

0 commit comments

Comments
 (0)