Browse Source

Fixed bug with test init

Cesar Rodas 3 months ago
parent
commit
11c10e1b7d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      crates/storage/base/src/test.rs

+ 1 - 1
crates/storage/base/src/test.rs

@@ -166,7 +166,7 @@ pub async fn get_event_and_related_events<T>(db: &T)
 where
     T: Storage,
 {
-    setup_db(db);
+    setup_db(db).await;
 
     let id: Addr = "42224859763652914db53052103f0b744df79dfc4efef7e950fc0802fc3df3c5"
         .try_into()