refactor(plaintext): rename symbols to follow naming convention

Related: #2217.

Pull-Request: #4535.
This commit is contained in:
Thomas Eizinger
2023-09-28 05:42:45 +10:00
committed by GitHub
parent f6b5a1376a
commit fffd47b69f
13 changed files with 98 additions and 102 deletions

View File

@ -1848,9 +1848,7 @@ mod tests {
let local_public_key = id_keys.public();
let transport = transport::MemoryTransport::default()
.upgrade(upgrade::Version::V1)
.authenticate(plaintext::PlainText2Config {
local_public_key: local_public_key.clone(),
})
.authenticate(plaintext::Config::new(&id_keys))
.multiplex(yamux::Config::default())
.boxed();
let behaviour = CallTraceBehaviour::new(MockBehaviour::new(dummy::ConnectionHandler));