From 6e517e5938aa08f239da60ac36e3062f24fafe2b Mon Sep 17 00:00:00 2001 From: davidemazzocchi Date: Thu, 16 Oct 2025 15:59:31 +0200 Subject: [PATCH] fix: change expected entity status in test after changing from insert to upsert --- 01.workspace/heave/src/str/catalog.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/01.workspace/heave/src/str/catalog.rs b/01.workspace/heave/src/str/catalog.rs index 751297b..ca81986 100644 --- a/01.workspace/heave/src/str/catalog.rs +++ b/01.workspace/heave/src/str/catalog.rs @@ -338,7 +338,7 @@ mod tests { assert_eq!(entity.value_of("name"), Some(&Value::from("Second Item"))); assert_eq!(entity.value_of("price"), Some(&Value::from(200u64))); assert_eq!(entity.value_of("in_stock"), Some(&Value::from(false))); - assert_eq!(entity.state, EntityState::New); + assert_eq!(entity.state, EntityState::Updated); } #[test]