Fix tests: Do not pass "internal", subcommand does not exist anymore
This commit is contained in:
parent
e39bd7fc72
commit
32f38945f0
1 changed files with 8 additions and 6 deletions
|
@ -397,7 +397,7 @@ mod tests {
|
||||||
#[test]
|
#[test]
|
||||||
fn test_link_modificates() {
|
fn test_link_modificates() {
|
||||||
setup_logging();
|
setup_logging();
|
||||||
let rt = generate_test_runtime(vec!["internal", "test1", "test2"])
|
let rt = generate_test_runtime(vec!["test1", "test2"])
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
||||||
debug!("Runtime created");
|
debug!("Runtime created");
|
||||||
|
@ -421,12 +421,14 @@ mod tests {
|
||||||
|
|
||||||
assert_ne!(*test_links1, links_toml_value(vec![]));
|
assert_ne!(*test_links1, links_toml_value(vec![]));
|
||||||
assert_ne!(*test_links2, links_toml_value(vec![]));
|
assert_ne!(*test_links2, links_toml_value(vec![]));
|
||||||
|
|
||||||
|
debug!("Test finished")
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_linking_links() {
|
fn test_linking_links() {
|
||||||
setup_logging();
|
setup_logging();
|
||||||
let rt = generate_test_runtime(vec!["internal", "test1", "test2"])
|
let rt = generate_test_runtime(vec!["test1", "test2"])
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
||||||
debug!("Runtime created");
|
debug!("Runtime created");
|
||||||
|
@ -455,7 +457,7 @@ mod tests {
|
||||||
#[test]
|
#[test]
|
||||||
fn test_multilinking() {
|
fn test_multilinking() {
|
||||||
setup_logging();
|
setup_logging();
|
||||||
let rt = generate_test_runtime(vec!["internal", "test1", "test2"])
|
let rt = generate_test_runtime(vec!["test1", "test2"])
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
||||||
debug!("Runtime created");
|
debug!("Runtime created");
|
||||||
|
@ -485,7 +487,7 @@ mod tests {
|
||||||
#[test]
|
#[test]
|
||||||
fn test_linking_more_than_two() {
|
fn test_linking_more_than_two() {
|
||||||
setup_logging();
|
setup_logging();
|
||||||
let rt = generate_test_runtime(vec!["internal", "test1", "test2", "test3"])
|
let rt = generate_test_runtime(vec!["test1", "test2", "test3"])
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
||||||
debug!("Runtime created");
|
debug!("Runtime created");
|
||||||
|
@ -522,7 +524,7 @@ mod tests {
|
||||||
#[test]
|
#[test]
|
||||||
fn test_linking_links_unlinking_removes_links() {
|
fn test_linking_links_unlinking_removes_links() {
|
||||||
setup_logging();
|
setup_logging();
|
||||||
let rt = generate_test_runtime(vec!["internal", "test1", "test2"])
|
let rt = generate_test_runtime(vec!["test1", "test2"])
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
||||||
debug!("Runtime created");
|
debug!("Runtime created");
|
||||||
|
@ -558,7 +560,7 @@ mod tests {
|
||||||
#[test]
|
#[test]
|
||||||
fn test_linking_and_unlinking_more_than_two() {
|
fn test_linking_and_unlinking_more_than_two() {
|
||||||
setup_logging();
|
setup_logging();
|
||||||
let rt = generate_test_runtime(vec!["internal", "test1", "test2", "test3"])
|
let rt = generate_test_runtime(vec!["test1", "test2", "test3"])
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
||||||
debug!("Runtime created");
|
debug!("Runtime created");
|
||||||
|
|
Loading…
Reference in a new issue