mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2025-12-31 01:10:20 -06:00
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",
|
||||
}
|
||||
cwd, _ := os.Getwd()
|
||||
p := filepath.Join(cwd, "../../testdata/oc.png")
|
||||
p := filepath.Join(cwd, "../../testdata/test.png")
|
||||
f, _ := os.Open(p)
|
||||
defer f.Close()
|
||||
img, ext, _ := image.Decode(f)
|
||||
@@ -150,8 +150,8 @@ func TestPreviewGenerationTooBigImage(t *testing.T) {
|
||||
fileName string
|
||||
mimeType string
|
||||
}{
|
||||
{name: "png", mimeType: "image/png", fileName: "../../testdata/oc.png"},
|
||||
{name: "gif", mimeType: "image/gif", fileName: "../../testdata/oc.gif"},
|
||||
{name: "png", mimeType: "image/png", fileName: "../../testdata/test.png"},
|
||||
{name: "jpg", mimeType: "image/jpeg", fileName: "../../testdata/test.jpg"},
|
||||
{name: "ggs", mimeType: "application/vnd.geogebra.slides", fileName: "../../testdata/test.ggs"},
|
||||
}
|
||||
|
||||
|
||||
BIN
services/thumbnails/testdata/oc.gif
vendored
BIN
services/thumbnails/testdata/oc.gif
vendored
Binary file not shown.
|
Before Width: | Height: | Size: 25 KiB |
BIN
services/thumbnails/testdata/oc.png
vendored
BIN
services/thumbnails/testdata/oc.png
vendored
Binary file not shown.
|
Before Width: | Height: | Size: 68 KiB |
1
services/thumbnails/testdata/test.ggp
vendored
1
services/thumbnails/testdata/test.ggp
vendored
File diff suppressed because one or more lines are too long
BIN
services/thumbnails/testdata/test.jpg
vendored
Normal file
BIN
services/thumbnails/testdata/test.jpg
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 34 KiB |
BIN
services/thumbnails/testdata/test.png
vendored
Normal file
BIN
services/thumbnails/testdata/test.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
Reference in New Issue
Block a user