-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Dynamic Address Book unit tests (#2459)
* chore: getter naming convention Signed-off-by: Ivaylo Nikolov <ivaylo.nikolov@limechain.tech> * fix: setters should work only when frozen Signed-off-by: Ivaylo Nikolov <ivaylo.nikolov@limechain.tech> * fix: NodeUpdateTransaction was missing nodeid in tx body Signed-off-by: Ivaylo Nikolov <ivaylo.nikolov@limechain.tech> * test(wip): DAB unit tests Signed-off-by: Ivaylo Nikolov <ivaylo.nikolov@limechain.tech> * test: change byte test names Signed-off-by: Ivaylo Nikolov <ivaylo.nikolov@limechain.tech> * test: use ED25519 instead of depricated methods Signed-off-by: Ivaylo Nikolov <ivaylo.nikolov@limechain.tech> * test: dont use async functions and await when not necessary Signed-off-by: Ivaylo Nikolov <ivaylo.nikolov@limechain.tech> * test: rename typo test name Signed-off-by: Ivaylo Nikolov <ivaylo.nikolov@limechain.tech> * test: use naming convention camelCase Signed-off-by: Ivaylo Nikolov <ivaylo.nikolov@limechain.tech> * test: add comment for variable clarity Signed-off-by: Ivaylo Nikolov <ivaylo.nikolov@limechain.tech> * test: no need for TEST prefix Signed-off-by: Ivaylo Nikolov <ivaylo.nikolov@limechain.tech> * update describe block names Signed-off-by: Ivaylo Nikolov <ivaylo.nikolov@limechain.tech> * test: use const as error message Signed-off-by: Ivaylo Nikolov <ivaylo.nikolov@limechain.tech> * test: remove wrong error message Signed-off-by: Ivaylo Nikolov <ivaylo.nikolov@limechain.tech> * test: add gossip and service endpoints tests for from-to bytes test Signed-off-by: Ivaylo Nikolov <ivaylo.nikolov@limechain.tech> * test: dont use join for endpoints Signed-off-by: Ivaylo Nikolov <ivaylo.nikolov@limechain.tech> * test: use underscore because we dont use element Signed-off-by: Ivaylo Nikolov <ivaylo.nikolov@limechain.tech> * test: use error message for frozen tests as constant Signed-off-by: Ivaylo Nikolov <ivaylo.nikolov@limechain.tech> * test: try catch consistency Signed-off-by: Ivaylo Nikolov <ivaylo.nikolov@limechain.tech> --------- Signed-off-by: Ivaylo Nikolov <ivaylo.nikolov@limechain.tech>
- Loading branch information
1 parent
507fdad
commit 05d3c9c
Showing
6 changed files
with
600 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.