chore: remove or change branded test files in thumbnail service
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -47,7 +47,7 @@ func BenchmarkGet(b *testing.B) {
|
|||||||
Checksum: "1872ade88f3013edeb33decd74a4f947",
|
Checksum: "1872ade88f3013edeb33decd74a4f947",
|
||||||
}
|
}
|
||||||
cwd, _ := os.Getwd()
|
cwd, _ := os.Getwd()
|
||||||
p := filepath.Join(cwd, "../../testdata/oc.png")
|
p := filepath.Join(cwd, "../../testdata/test.png")
|
||||||
f, _ := os.Open(p)
|
f, _ := os.Open(p)
|
||||||
defer f.Close()
|
defer f.Close()
|
||||||
img, ext, _ := image.Decode(f)
|
img, ext, _ := image.Decode(f)
|
||||||
@@ -150,8 +150,8 @@ func TestPreviewGenerationTooBigImage(t *testing.T) {
|
|||||||
fileName string
|
fileName string
|
||||||
mimeType string
|
mimeType string
|
||||||
}{
|
}{
|
||||||
{name: "png", mimeType: "image/png", fileName: "../../testdata/oc.png"},
|
{name: "png", mimeType: "image/png", fileName: "../../testdata/test.png"},
|
||||||
{name: "gif", mimeType: "image/gif", fileName: "../../testdata/oc.gif"},
|
{name: "jpg", mimeType: "image/jpeg", fileName: "../../testdata/test.jpg"},
|
||||||
{name: "ggs", mimeType: "application/vnd.geogebra.slides", fileName: "../../testdata/test.ggs"},
|
{name: "ggs", mimeType: "application/vnd.geogebra.slides", fileName: "../../testdata/test.ggs"},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Vendored
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 25 KiB |
Vendored
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 68 KiB |
-1
File diff suppressed because one or more lines are too long
BIN
Binary file not shown.
|
After Width: | Height: | Size: 34 KiB |
BIN
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
Reference in New Issue
Block a user