Implemented groundwork for search configuration.
This commit is contained in:
@@ -13,7 +13,7 @@ namespace Props.Shop.Adafruit.Tests.Api
|
||||
public async Task TestSearch()
|
||||
{
|
||||
ProductListingManager mockProductListingManager = new ProductListingManager();
|
||||
mockProductListingManager.SetListings(File.ReadAllText("./Assets/products.json"));
|
||||
mockProductListingManager.SetListingsData(File.ReadAllText("./Assets/products.json"));
|
||||
List<ProductListing> results = new List<ProductListing>();
|
||||
await foreach (ProductListing item in mockProductListingManager.Search("arduino", 0.5f))
|
||||
{
|
||||
|
Reference in New Issue
Block a user