updated MockDreams initial record to use a fixed date for consistent test results and predictable behavior in data processing

Signed-off-by: Matthias Puchstein <matthias@puchstein.bayern>
This commit is contained in:
2025-07-16 20:17:00 +02:00
parent b8e8057442
commit 20dfb50ac8

View File

@@ -9,7 +9,7 @@ function getRandomDateInRange() {
}
export const mockDreams: Dream[] = [new Dream({
id: 1, userId: 1, title: 'Mitternachtsbibliothek', date: getRandomDateInRange(), input: {
id: 1, userId: 1, title: 'Mitternachtsbibliothek', date: new Date('2025-07-17T03:25:57Z'), input: {
inputType: 'text',
input: 'Ich wanderte um Mitternacht in eine riesige Bibliothek, in der jedes Buch sanft leuchtete. Als ich eines aus dem Regal zog, flüsterten seine Seiten mir Geheimnisse zu.',
} as TextInput, ai: {