Check for query result in config test
@@ -7,7 +7,9 @@ use crate::{QueryResult, StorageProcessor};
/// Server config should be loaded without errors.
#[db_test]
async fn test_load_config(mut storage: StorageProcessor<'_>) -> QueryResult<()> {
- storage.config_schema().load_config().await?;
+ let config = storage.config_schema().load_config().await?;
+ assert!(config.contract_addr.is_some());
+ assert!(config.gov_contract_addr.is_some());
Ok(())
}
