diff --git a/crates/proto-xmpp/src/client.rs b/crates/proto-xmpp/src/client.rs
index 05807bd..08d203a 100644
--- a/crates/proto-xmpp/src/client.rs
+++ b/crates/proto-xmpp/src/client.rs
@@ -658,7 +658,7 @@ mod tests {
#[tokio::test]
async fn parse_message() {
- let input = r#"daabbb"#;
+ let input = r#"daabbb"#;
let result: Message = crate::xml::parse(input).unwrap();
assert_eq!(
result,
@@ -666,8 +666,8 @@ mod tests {
from: None,
id: Some("aacea".to_string()),
to: Some(Jid {
- name: Some(Name("nikita".into())),
- server: Server("vlnv.dev".into()),
+ name: Some(Name("chelik".into())),
+ server: Server("xmpp.ru".into()),
resource: None
}),
r#type: MessageType::Chat,
@@ -681,7 +681,7 @@ mod tests {
#[tokio::test]
async fn parse_message_empty_custom() {
- let input = r#"daabbb"#;
+ let input = r#"daabbb"#;
let result: Message = crate::xml::parse(input).unwrap();
assert_eq!(
result,
@@ -689,8 +689,8 @@ mod tests {
from: None,
id: Some("aacea".to_string()),
to: Some(Jid {
- name: Some(Name("nikita".into())),
- server: Server("vlnv.dev".into()),
+ name: Some(Name("chelik".into())),
+ server: Server("xmpp.ru".into()),
resource: None
}),
r#type: MessageType::Chat,
diff --git a/crates/proto-xmpp/src/stream.rs b/crates/proto-xmpp/src/stream.rs
index 8f46f31..b12891e 100644
--- a/crates/proto-xmpp/src/stream.rs
+++ b/crates/proto-xmpp/src/stream.rs
@@ -170,14 +170,14 @@ mod test {
#[tokio::test]
async fn client_stream_start_correct_parse() {
- let input = r###""###;
+ let input = r###""###;
let mut reader = NsReader::from_reader(input.as_bytes());
let mut buf = vec![];
let res = ClientStreamStart::parse(&mut reader, &mut buf).await.unwrap();
assert_eq!(
res,
ClientStreamStart {
- to: "vlnv.dev".to_owned(),
+ to: "xmpp.ru".to_owned(),
lang: Some("en".to_owned()),
version: "1.0".to_owned()
}
@@ -187,12 +187,12 @@ mod test {
#[tokio::test]
async fn server_stream_start_write() {
let input = ServerStreamStart {
- from: "vlnv.dev".to_owned(),
+ from: "xmpp.ru".to_owned(),
lang: "en".to_owned(),
id: "stream_id".to_owned(),
version: "1.0".to_owned(),
};
- let expected = r###""###;
+ let expected = r###""###;
let mut output: Vec = vec![];
let mut writer = Writer::new(&mut output);
input.write_xml(&mut writer).await.unwrap();