Skip to content

Commit d74bc0f

Browse files
committed
fix tests after removing old logo
1 parent aa6b576 commit d74bc0f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/files/tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ def test_file_download(self) -> None:
533533
response = self.client.get(url)
534534
assert response.status_code == 200
535535
assert response["content-type"] == "image/png"
536-
with (settings.BASE_DIR / "static_src/images/logo_wide_black_500_RGB.png").open("rb") as f:
536+
with (settings.BASE_DIR / "static_src/images/file-video-solid.png").open("rb") as f:
537537
assert f.read() == response.getvalue()
538538

539539
def test_file_metadata_update(self) -> None:

src/utils/tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def file_upload( # noqa: PLR0913
126126
cls,
127127
*,
128128
uploader: str = "creator2",
129-
filepath: str = settings.BASE_DIR / "static_src/images/logo_wide_black_500_RGB.png",
129+
filepath: str = settings.BASE_DIR / "static_src/images/file-video-solid.png",
130130
title: str = "some title",
131131
file_license: str = "CC_ZERO_1_0",
132132
mimetype: str = "image/png",

0 commit comments

Comments
 (0)