Skip to content
This repository has been archived by the owner on Jun 25, 2021. It is now read-only.

Commit

Permalink
chore: remove obsolete adult tests and test utils
Browse files Browse the repository at this point in the history
  • Loading branch information
madadam committed Oct 8, 2020
1 parent e24699b commit d0b238d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 341 deletions.
226 changes: 0 additions & 226 deletions src/node/tests/adult.rs

This file was deleted.

8 changes: 2 additions & 6 deletions src/node/tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@
// KIND, either express or implied. Please review the Licences for the specific language governing
// permissions and limitations relating to use of the SAFE Network Software.

// TODO: convert the tests in these module to use the Command paradigm.
#[cfg(feature = "mock")]
mod adult;
#[cfg(feature = "mock")]
mod utils;

use super::{Approved, Bootstrapping, Comm, Command, NodeInfo, Stage, State};
use crate::{
consensus::{Proven, Vote},
Expand Down Expand Up @@ -1094,6 +1088,8 @@ async fn handle_sync() -> Result<()> {
Ok(())
}

// TODO: add test that untrusted `Sync` is not applied

#[tokio::test]
async fn receive_message_with_invalid_proof_chain() -> Result<()> {
let sk0_good_set = SecretKeySet::random();
Expand Down
109 changes: 0 additions & 109 deletions src/node/tests/utils.rs

This file was deleted.

0 comments on commit d0b238d

Please sign in to comment.