mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-26 20:24:00 +01:00
10-year old images are gone
This commit is contained in:
parent
186f1f5669
commit
a748ba70a8
4 changed files with 1 additions and 3 deletions
Binary file not shown.
Before Width: | Height: | Size: 4.4 KiB |
Binary file not shown.
Before Width: | Height: | Size: 5.1 KiB |
|
@ -33,7 +33,7 @@ func TestCompareTag(t *testing.T) {
|
||||||
|
|
||||||
req = NewRequest(t, "GET", "/user2/repo1/compare/invalid")
|
req = NewRequest(t, "GET", "/user2/repo1/compare/invalid")
|
||||||
resp = session.MakeRequest(t, req, http.StatusNotFound)
|
resp = session.MakeRequest(t, req, http.StatusNotFound)
|
||||||
assert.False(t, strings.Contains(resp.Body.String(), "/assets/img/500.png"), "expect 404 page not 500")
|
assert.False(t, strings.Contains(resp.Body.String(), ">500<"), "expect 404 page not 500")
|
||||||
}
|
}
|
||||||
|
|
||||||
// Compare with inferred default branch (master)
|
// Compare with inferred default branch (master)
|
||||||
|
|
|
@ -36,8 +36,6 @@ func TestLinksNoLogin(t *testing.T) {
|
||||||
"/user2/repo1/",
|
"/user2/repo1/",
|
||||||
"/user2/repo1/projects",
|
"/user2/repo1/projects",
|
||||||
"/user2/repo1/projects/1",
|
"/user2/repo1/projects/1",
|
||||||
"/assets/img/404.png",
|
|
||||||
"/assets/img/500.png",
|
|
||||||
"/.well-known/security.txt",
|
"/.well-known/security.txt",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue