@@ -205,9 +205,10 @@ mod tests {
205205 async fn insert_test_event ( pool : & DbPool , event_id : & str , project_id : i64 , timestamp : i64 ) {
206206 sqlx:: query ( sql ! (
207207 "INSERT INTO events (event_id, item_type, payload, project_id, public_key, timestamp, level, title, received_at, monitor_slug, session_status, parent_event_id)
208- VALUES (?1, 'event', X'00' , ?2 , 'testkey', ?3 , 'error', 'test title', ?3 , NULL, NULL, NULL)" ,
208+ VALUES (?1, 'event', ?2 , ?3 , 'testkey', ?4 , 'error', 'test title', ?4 , NULL, NULL, NULL)" ,
209209 ) )
210210 . bind ( event_id)
211+ . bind ( & [ 0u8 ] as & [ u8 ] )
211212 . bind ( project_id)
212213 . bind ( timestamp)
213214 . execute ( pool)
@@ -286,9 +287,10 @@ mod tests {
286287 ) {
287288 sqlx:: query ( sql ! (
288289 "INSERT INTO events (event_id, item_type, payload, project_id, public_key, timestamp, level, title, received_at, fingerprint)
289- VALUES (?1, 'event', X'00' , ?2 , 'testkey', ?3 , 'error', 'test title', ?3 , ?4 )" ,
290+ VALUES (?1, 'event', ?2 , ?3 , 'testkey', ?4 , 'error', 'test title', ?4 , ?5 )" ,
290291 ) )
291292 . bind ( event_id)
293+ . bind ( & [ 0u8 ] as & [ u8 ] )
292294 . bind ( project_id)
293295 . bind ( received_at)
294296 . bind ( fingerprint)
0 commit comments