aboutsummaryrefslogtreecommitdiffstats
path: root/src/simtest/remakes.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/simtest/remakes.rs')
-rw-r--r--src/simtest/remakes.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/simtest/remakes.rs b/src/simtest/remakes.rs
index 6fa4235..49139b6 100644
--- a/src/simtest/remakes.rs
+++ b/src/simtest/remakes.rs
@@ -17,7 +17,7 @@ use serde_json::{Value as JsonValue, json};
use super::{SOON, Sim, read, write};
use crate::document::ChangeHash;
use crate::document::replica::Epoch;
-use crate::document::store;
+use crate::document::view;
use crate::remake::testing;
use crate::state::AppState;
use crate::swarm::bootstrap::Start;
@@ -257,7 +257,7 @@ async fn writes_through_a_rejoin_are_kept() {
while !stop.load(Ordering::Relaxed) {
let at = vec!["w".to_owned(), n.to_string()];
let written = c
- .mutate_doc(move |doc| store::write_path(doc, &at, &json!(n)))
+ .mutate_doc(move |doc| view::write_path(doc, &at, &json!(n)))
.await;
assert!(written.is_ok(), "write {n} refused: {written:?}");
answered.lock().unwrap().push(n);