Do not pass --rtp in test runtime
This commit is contained in:
parent
71086b67d8
commit
7f0d5b8bfd
1 changed files with 2 additions and 4 deletions
|
@ -96,8 +96,7 @@ macro_rules! make_mock_app {
|
|||
|
||||
#[allow(unused)]
|
||||
pub fn generate_test_runtime<'a>(mut args: Vec<&'static str>) -> Result<Runtime<'a>, Error> {
|
||||
let mut cli_args = vec![$appname, "--rtp", "/tmp"];
|
||||
|
||||
let mut cli_args = vec![$appname];
|
||||
cli_args.append(&mut args);
|
||||
debug!("Generating test runtime with args = {:?}", cli_args);
|
||||
|
||||
|
@ -109,8 +108,7 @@ macro_rules! make_mock_app {
|
|||
pub fn reset_test_runtime<'a>(mut args: Vec<&'static str>, old_runtime: Runtime)
|
||||
-> Result<Runtime<'a>, Error>
|
||||
{
|
||||
let mut cli_args = vec![$appname, "--rtp", "/tmp"];
|
||||
|
||||
let mut cli_args = vec![$appname];
|
||||
cli_args.append(&mut args);
|
||||
debug!("New arguments: {:?}", cli_args);
|
||||
|
||||
|
|
Loading…
Reference in a new issue