test: Update image link assertion

- Change assertion for image link detection
- Use `file_type` instead of `is_image_link`
This commit is contained in:
Mahmoud-Emad
2025-11-17 14:51:15 +02:00
parent 9b2e9114b8
commit 82375f9b89

View File

@@ -524,7 +524,7 @@ fn test_get_page_links_success() {
assert links.len == 2
assert links[0].target_item_name == 'logo.png'
assert links[0].target_collection_name == 'testcollection'
assert links[0].is_image_link == true
assert links[0].file_type == .image
}
// Test get_page_links - no links