Improve test coverage of the Notifications protocol (#13033)

* Add handler and upgrade tests

* Add tests for `behaviour.rs`

* Apply review comments

* Update dependencies

* Apply suggestions from code review

Co-authored-by: Dmitry Markin <dmitry@markin.tech>

* Apply review comments

* Fix clippy

* Update mockall

* Apply review comment

---------

Co-authored-by: Dmitry Markin <dmitry@markin.tech>
This commit is contained in:
Aaro Altonen
2023-02-08 11:04:02 +02:00
committed by GitHub
parent cc766cc1c5
commit 2f3f7d6b07
9 changed files with 3780 additions and 478 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ futures = "0.3.21"
libp2p = "0.50.0"
log = "0.4.17"
lru = "0.8.1"
mockall = "0.11.2"
mockall = "0.11.3"
prost = "0.11"
smallvec = "1.8.0"
thiserror = "1.0"