Skip to content

Commit

Permalink
Merge branch 'tests/product' of github.com:sweatco/sweat-jar into tes…
Browse files Browse the repository at this point in the history
…ts/product
  • Loading branch information
vasyafromrussia committed Sep 7, 2023
2 parents c50ffa0 + b9cd09e commit 081433e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contract/src/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ pub(crate) mod tests {

pub(crate) fn with_products(mut self, products: &[Product]) -> Self {
for product in products {
self.contract.products.insert(product.clone().id, product.clone());
self.contract.products.insert(product.id.clone(), product.clone());
}

self
Expand Down

0 comments on commit 081433e

Please sign in to comment.