use strum_macros::Display to display Status

This commit is contained in:
Dustin J. Mitchell
2021-12-20 16:26:52 +00:00
parent 1bc7b5f019
commit 6a1d1a8c3c
2 changed files with 29 additions and 27 deletions

View File

@@ -274,7 +274,7 @@ mod tests {
uuid: t.get_uuid(),
property: "status".into(),
old_value: None,
value: Some("P".into()),
value: Some("pending".into()),
timestamp: now,
},
ReplicaOp::Update {
@@ -294,8 +294,8 @@ mod tests {
ReplicaOp::Update {
uuid: t.get_uuid(),
property: "status".into(),
old_value: Some("P".into()),
value: Some("C".into()),
old_value: Some("pending".into()),
value: Some("completed".into()),
timestamp: now,
},
]