Skip to content

Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.

test: complete board record fixture

Josh Corbettbcaecd8ef063
diff --git a/tests/app/routers/test_images.py b/tests/app/routers/test_images.py
index 7b694c280b..a660531f10 100644
--- a/tests/app/routers/test_images.py
+++ b/tests/app/routers/test_images.py
@@ -49,7 +49,14 @@ def test_download_images_from_board_id_empty_image_name_list(
expected_board_name = "test"
mock_get = MagicMock(
- return_value=BoardRecord(board_id="12345", board_name=expected_board_name, created_at="None", updated_at="None")
+ return_value=BoardRecord(
+ board_id="12345",
+ board_name=expected_board_name,
+ user_id="system",
+ created_at="None",
+ updated_at="None",
+ archived=False,
+ )
)
monkeypatch.setattr(mock_invoker.services.board_records, "get", mock_get)
prepare_download_images_test(monkeypatch, mock_invoker)