mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 15:17:05 +05:30
fix(api): refresh search page golden snapshot
This commit is contained in:
parent
cdeac000ce
commit
38830cee53
2 changed files with 23 additions and 21 deletions
|
@ -31,29 +31,29 @@ class SearchApiTest {
|
||||||
private val results =
|
private val results =
|
||||||
listOf(
|
listOf(
|
||||||
LobstersPost(
|
LobstersPost(
|
||||||
shortId = "gjlsdg",
|
shortId = "vvky3g",
|
||||||
title = "ChatGPT visits the Emacs doctor",
|
|
||||||
url = "https://xenodium.com/chatgpt-visits-the-emacs-doctor/",
|
|
||||||
createdAt = "",
|
createdAt = "",
|
||||||
commentCount = 3,
|
title = "2024 State of Rust Survey Results",
|
||||||
commentsUrl = "https://lobste.rs/s/gjlsdg/chatgpt_visits_emacs_doctor",
|
url = "https://blog.rust-lang.org/2025/02/13/2024-State-Of-Rust-Survey-results.html",
|
||||||
submitter = "xenodium",
|
|
||||||
tags = listOf("ai", "emacs"),
|
|
||||||
description = "",
|
description = "",
|
||||||
userIsAuthor = true,
|
commentCount = 10,
|
||||||
|
commentsUrl = "https://lobste.rs/s/vvky3g/2024_state_rust_survey_results",
|
||||||
|
submitter = "obsoleszenz",
|
||||||
|
userIsAuthor = false,
|
||||||
|
tags = listOf("rust"),
|
||||||
),
|
),
|
||||||
LobstersPost(
|
LobstersPost(
|
||||||
shortId = "astcqf",
|
shortId = "wjoric",
|
||||||
title =
|
|
||||||
"Implementing a question-answering system for PDF documents using ChatGPT and Redis",
|
|
||||||
url = "https://mstack.nl/blog/20230623-chatgpt-question-pdf-document/",
|
|
||||||
createdAt = "",
|
createdAt = "",
|
||||||
|
title = "New hack uses prompt injection to corrupt Gemini’s long-term memory",
|
||||||
|
url =
|
||||||
|
"https://arstechnica.com/security/2025/02/new-hack-uses-prompt-injection-to-corrupt-geminis-long-term-memory/",
|
||||||
|
description = "",
|
||||||
commentCount = 0,
|
commentCount = 0,
|
||||||
commentsUrl = "https://lobste.rs/s/astcqf/implementing_question_answering_system",
|
commentsUrl = "https://lobste.rs/s/wjoric/new_hack_uses_prompt_injection_corrupt",
|
||||||
submitter = "asteroid",
|
submitter = "laktak",
|
||||||
|
userIsAuthor = false,
|
||||||
tags = listOf("ai"),
|
tags = listOf("ai"),
|
||||||
description = "",
|
|
||||||
userIsAuthor = false,
|
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
12
api/src/test/resources/search_chatgpt_page.html
vendored
12
api/src/test/resources/search_chatgpt_page.html
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue