Skip to content

Commit 75f6aea

Browse files
fix
1 parent 058cb85 commit 75f6aea

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

services/web/server/tests/unit/with_dbs/02/test_projects_crud_handlers.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,9 +364,14 @@ async def test_list_projects_with_innaccessible_services(
364364
data, *_ = await _list_and_assert_projects(
365365
client, expected, headers=s4l_product_headers
366366
)
367-
assert len(data) == 2
367+
# UPDATE (use-case 4): 11.11.2024 - This test was checking backwards compatibility for listing
368+
# projects that were not in the projects_to_products table. After refactoring the project listing,
369+
# we no longer support this. MD double-checked the last_modified_timestamp on projects
370+
# that do not have any product assigned (all of them were before 01-11-2022 with the exception of two
371+
# `4b001ad2-8450-11ec-b105-02420a0b02c7` and `d952cbf4-d838-11ec-af92-02420a0bdad4` which were added to osparc product).
372+
assert len(data) == 0
368373
data, *_ = await _list_and_assert_projects(client, expected)
369-
assert len(data) == 2
374+
assert len(data) == 0
370375

371376

372377
@pytest.mark.parametrize(

0 commit comments

Comments
 (0)