Middle of session move.
This commit is contained in:
@@ -815,26 +815,4 @@ mod internal_features {
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn do_normal_definitions_request_session() {
|
||||
let sess_name = Session::doc_names()[0].clone();
|
||||
let mut test_env = TestMoreThanText::new();
|
||||
let mut mtt = test_env.get_morethantext();
|
||||
let client = mtt.client();
|
||||
let name = Name::english("something");
|
||||
let docdef = DocDef::new(name.clone());
|
||||
client.create_document(docdef);
|
||||
let path = Path::new(
|
||||
Include::All,
|
||||
Include::Just(sess_name.clone().into()),
|
||||
Include::Just(Action::Query),
|
||||
);
|
||||
test_env.register_channel(vec![path]);
|
||||
client.records(Query::new(name)).unwrap();
|
||||
match test_env.recv() {
|
||||
Ok(msg) => {}
|
||||
Err(err) => unreachable!("got {:?}, should have requested session", err),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user