Adapt cli-test for create()
In the process fix the binary name.
This commit is contained in:
parent
7b1ffdfa4b
commit
861817a87f
1 changed files with 3 additions and 3 deletions
|
@ -175,17 +175,17 @@ mod tests {
|
|||
use toml::Value;
|
||||
|
||||
make_mock_app! {
|
||||
app "imag-link";
|
||||
app "imag-store";
|
||||
modulename mock;
|
||||
version "0.4.0";
|
||||
with help "imag-link mocking app";
|
||||
with help "imag-store mocking app";
|
||||
}
|
||||
use self::mock::generate_test_runtime;
|
||||
|
||||
#[test]
|
||||
fn test_create_simple() {
|
||||
let test_name = "test_create_simple";
|
||||
let rt = generate_test_runtime(vec!["create", "-p", "test_create_simple"]).unwrap();
|
||||
let rt = generate_test_runtime(vec!["create", "test_create_simple"]).unwrap();
|
||||
|
||||
create(&rt);
|
||||
|
||||
|
|
Loading…
Reference in a new issue