Fix: Do not pass --rtp in testing environment

As we run tests in-memory (already for a rather long time), we don't
need to pass this anymore.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
Matthias Beyer 2018-10-07 15:25:15 +02:00
parent 6751c34f1b
commit 388632d7ff

View file

@ -96,7 +96,7 @@ macro_rules! make_mock_app {
#[allow(unused)]
pub fn generate_test_runtime<'a>(mut args: Vec<&'static str>) -> Result<Runtime<'a>, RuntimeError> {
let mut cli_args = vec![$appname, "--rtp", "/tmp"];
let mut cli_args = vec![$appname];
cli_args.append(&mut args);