summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--public/assets/img/404.pngbin4516 -> 0 bytes
-rw-r--r--public/assets/img/500.pngbin5230 -> 0 bytes
-rw-r--r--tests/integration/compare_test.go2
-rw-r--r--tests/integration/links_test.go2
4 files changed, 1 insertions, 3 deletions
diff --git a/public/assets/img/404.png b/public/assets/img/404.png
deleted file mode 100644
index 8b66c971f4..0000000000
--- a/public/assets/img/404.png
+++ /dev/null
Binary files differ
diff --git a/public/assets/img/500.png b/public/assets/img/500.png
deleted file mode 100644
index dab69206ad..0000000000
--- a/public/assets/img/500.png
+++ /dev/null
Binary files differ
diff --git a/tests/integration/compare_test.go b/tests/integration/compare_test.go
index cf0bac4c8a..5d5529c36e 100644
--- a/tests/integration/compare_test.go
+++ b/tests/integration/compare_test.go
@@ -33,7 +33,7 @@ func TestCompareTag(t *testing.T) {
req = NewRequest(t, "GET", "/user2/repo1/compare/invalid")
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)
diff --git a/tests/integration/links_test.go b/tests/integration/links_test.go
index 11e6146d07..6edcbbc71b 100644
--- a/tests/integration/links_test.go
+++ b/tests/integration/links_test.go
@@ -36,8 +36,6 @@ func TestLinksNoLogin(t *testing.T) {
"/user2/repo1/",
"/user2/repo1/projects",
"/user2/repo1/projects/1",
- "/assets/img/404.png",
- "/assets/img/500.png",
"/.well-known/security.txt",
}