Skip to content

Commit

Permalink
chore: remove custom async_test implementation
Browse files Browse the repository at this point in the history
Closes #461
  • Loading branch information
amrita72 committed Mar 19, 2020
1 parent 44aa7ca commit 3cbc3a1
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 134 deletions.
67 changes: 22 additions & 45 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,14 @@ slog-scope = "4.3"
slog-stdlog = "4.0"
slog-term = "2.4"
time = "0.1.42"
tokio = "0.2.9"
url = "2.1.0"
uuid = { version = "0.8.1", features = ["serde", "v4"] }
validator = "0.10"
validator_derive = "0.10"
woothee = "0.10"

[dev-dependencies]
codegen = { version = "0.1.0", path = "codegen" }
futures-await-test = "0.3.0"

[features]
no_auth = []
46 changes: 0 additions & 46 deletions codegen/Cargo.lock

This file was deleted.

12 changes: 0 additions & 12 deletions codegen/Cargo.toml

This file was deleted.

27 changes: 0 additions & 27 deletions codegen/src/lib.rs

This file was deleted.

2 changes: 1 addition & 1 deletion src/db/tests/batch.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use codegen::async_test;
use futures_await_test::async_test;
use log::debug;

use super::support::{db, gbso, hid, postbso, Result};
Expand Down
2 changes: 1 addition & 1 deletion src/db/tests/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use std::collections::HashMap;
use lazy_static::lazy_static;
use rand::{distributions::Alphanumeric, thread_rng, Rng};

use codegen::async_test;
use futures_await_test::async_test;

use super::support::{db, dbso, dbsos, gbso, gbsos, hid, pbso, postbso, Result};
use crate::db::{mysql::models::DEFAULT_BSO_TTL, params, util::SyncTimestamp, Sorting};
Expand Down

0 comments on commit 3cbc3a1

Please sign in to comment.