Skip to content

Commit

Permalink
refactor: remove vestigial bits of old tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoe Spellman committed Feb 21, 2024
1 parent 65e9b46 commit 734f3f4
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 72 deletions.
3 changes: 0 additions & 3 deletions tests/helpers/client_app.rs

This file was deleted.

3 changes: 0 additions & 3 deletions tests/helpers/client_chart.rs

This file was deleted.

2 changes: 0 additions & 2 deletions tests/helpers/client_user.rs

This file was deleted.

11 changes: 0 additions & 11 deletions tests/helpers/hooks.rs

This file was deleted.

6 changes: 0 additions & 6 deletions tests/helpers/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,5 @@

pub mod assert;
pub mod client;
pub mod client_app;
pub mod client_chart;
pub mod client_user;
pub mod data_faker;
pub mod hooks;
pub mod test_data;
pub mod vote_generator;
pub mod with_lifecycle;
Empty file removed tests/helpers/test_client.rs
Empty file.
32 changes: 0 additions & 32 deletions tests/helpers/test_data.rs

This file was deleted.

6 changes: 3 additions & 3 deletions tests/helpers/vote_generator.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use std::sync::Arc;

use super::client_user::*;
use super::client::*;
use crate::helpers;
use futures::future::join_all;
use ratings::features::pb::user::{AuthenticateResponse, VoteRequest};
Expand All @@ -10,7 +10,7 @@ pub async fn generate_votes(
snap_revision: i32,
vote_up: bool,
count: u64,
client: &UserClient,
client: &TestClient,
) -> Result<(), Box<dyn std::error::Error>> {
let mut joins = Vec::with_capacity(count as usize);

Expand Down Expand Up @@ -39,7 +39,7 @@ async fn register_and_vote(
snap_id: &str,
snap_revision: i32,
vote_up: bool,
client: &UserClient,
client: &TestClient,
) -> Result<(), Box<dyn std::error::Error + Send>> {
let id: String = helpers::data_faker::rnd_sha_256();
let response: AuthenticateResponse = client
Expand Down
12 changes: 0 additions & 12 deletions tests/helpers/with_lifecycle.rs

This file was deleted.

0 comments on commit 734f3f4

Please sign in to comment.