Skip to content

Commit

Permalink
test: fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
de-sh committed Apr 1, 2024
1 parent 88b0fba commit 2f365e8
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 15 deletions.
10 changes: 0 additions & 10 deletions uplink/src/base/bridge/actions_lane.rs
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,6 @@ mod tests {

let action_1 = Action {
action_id: "1".to_string(),
kind: "test".to_string(),
name: "route_1".to_string(),
payload: "test".to_string(),
deadline: None,
Expand All @@ -584,7 +583,6 @@ mod tests {

let action_2 = Action {
action_id: "2".to_string(),
kind: "test".to_string(),
name: "route_2".to_string(),
payload: "test".to_string(),
deadline: None,
Expand Down Expand Up @@ -628,7 +626,6 @@ mod tests {

let action_1 = Action {
action_id: "1".to_string(),
kind: "test".to_string(),
name: "test".to_string(),
payload: "test".to_string(),
deadline: None,
Expand All @@ -643,7 +640,6 @@ mod tests {

let action_2 = Action {
action_id: "2".to_string(),
kind: "test".to_string(),
name: "test".to_string(),
payload: "test".to_string(),
deadline: None,
Expand Down Expand Up @@ -684,7 +680,6 @@ mod tests {

let action = Action {
action_id: "1".to_string(),
kind: "test".to_string(),
name: "test".to_string(),
payload: "test".to_string(),
deadline: None,
Expand Down Expand Up @@ -749,7 +744,6 @@ mod tests {

let action = Action {
action_id: "1".to_string(),
kind: "test".to_string(),
name: "test".to_string(),
payload: "test".to_string(),
deadline: None,
Expand Down Expand Up @@ -819,7 +813,6 @@ mod tests {

let action = Action {
action_id: "1".to_string(),
kind: "tunshell".to_string(),
name: "launch_shell".to_string(),
payload: "test".to_string(),
deadline: None,
Expand All @@ -830,7 +823,6 @@ mod tests {

let action = Action {
action_id: "2".to_string(),
kind: "test".to_string(),
name: "test".to_string(),
payload: "test".to_string(),
deadline: None,
Expand Down Expand Up @@ -910,7 +902,6 @@ mod tests {

let action = Action {
action_id: "1".to_string(),
kind: "test".to_string(),
name: "test".to_string(),
payload: "test".to_string(),
deadline: None,
Expand All @@ -921,7 +912,6 @@ mod tests {

let action = Action {
action_id: "2".to_string(),
kind: "tunshell".to_string(),
name: "launch_shell".to_string(),
payload: "test".to_string(),
deadline: None,
Expand Down
3 changes: 0 additions & 3 deletions uplink/src/collector/downloader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,6 @@ mod test {
expected_forward.download_path = Some(downloader_path);
let download_action = Action {
action_id: "1".to_string(),
kind: "firmware_update".to_string(),
name: "firmware_update".to_string(),
payload: json!(download_update).to_string(),
deadline: Some(Instant::now() + Duration::from_secs(60)),
Expand Down Expand Up @@ -573,7 +572,6 @@ mod test {
};
let correct_action = Action {
action_id: "1".to_string(),
kind: "firmware_update".to_string(),
name: "firmware_update".to_string(),
payload: json!(correct_update).to_string(),
deadline: Some(Instant::now() + Duration::from_secs(100)),
Expand Down Expand Up @@ -612,7 +610,6 @@ mod test {
};
let wrong_action = Action {
action_id: "1".to_string(),
kind: "firmware_update".to_string(),
name: "firmware_update".to_string(),
payload: json!(wrong_update).to_string(),
deadline: Some(Instant::now() + Duration::from_secs(100)),
Expand Down
2 changes: 0 additions & 2 deletions uplink/src/collector/script_runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ mod tests {
actions_tx
.send(Action {
action_id: "1".to_string(),
kind: "1".to_string(),
name: "test".to_string(),
payload: "".to_string(),
deadline: None,
Expand All @@ -200,7 +199,6 @@ mod tests {
actions_tx
.send(Action {
action_id: "1".to_string(),
kind: "1".to_string(),
name: "test".to_string(),
payload: "{\"url\": \"...\", \"content_length\": 0,\"file_name\": \"...\"}"
.to_string(),
Expand Down

0 comments on commit 2f365e8

Please sign in to comment.