Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
the-Minister-0001 committed Dec 29, 2023
1 parent bf656f6 commit cd1dc12
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/api/endpoints/assets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ impl BlockfrostAPI {
mod tests {
use super::*;
use blockfrost_openapi::models::{
asset::Asset, asset_transactions_inner::AssetTransactionsInner,
asset::Asset,
asset_transactions_inner::AssetTransactionsInner,
assets_inner::AssetsInner,
};
use serde_json::json;

Expand All @@ -73,7 +75,7 @@ mod tests {
}
]);

serde_json::from_value::<Vec<Asset>>(json_value).unwrap();
serde_json::from_value::<Vec<AssetsInner>>(json_value).unwrap();
}

#[tokio::test]
Expand Down

0 comments on commit cd1dc12

Please sign in to comment.