lab4 done
This commit is contained in:
@@ -142,6 +142,13 @@ func TestIntegration(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
t.Run("lab4_attachments_and_reconciliation", func(t *testing.T) {
|
||||
isolated, e := repo.CreateChat(ctx, "Lab4", []string{user.ID})
|
||||
if e != nil {
|
||||
t.Fatal(e)
|
||||
}
|
||||
lab4Backend(t, pool, repo, user, isolated)
|
||||
})
|
||||
_, err = pool.Exec(ctx, `INSERT INTO messages(id,chat_id,sender_id,text,created_at)
|
||||
SELECT md5(i::text)::uuid,$1,$2,'synthetic message '||i,
|
||||
timestamptz '2026-01-01 00:00:00+00' + (i / 10) * interval '1 millisecond'
|
||||
|
||||
Reference in New Issue
Block a user