Skip to content

Commit

Permalink
fix comp issues
Browse files Browse the repository at this point in the history
  • Loading branch information
dkijania committed Mar 29, 2021
1 parent b73669e commit 3515c68
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions integration-tests/src/private.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ pub async fn private_vote_e2e_flow() -> std::result::Result<(), crate::Error> {

// start voting
david
.vote_for(fund1_vote_plan.id(), 0, Vote::YES as u8)
.vote_for(fund1_vote_plan.id(), 0, Vote::Yes as u8)
.unwrap();

let mut edgar = vit_controller
Expand All @@ -100,7 +100,7 @@ pub async fn private_vote_e2e_flow() -> std::result::Result<(), crate::Error> {
edgar.convert_and_send().unwrap();

edgar
.vote_for(fund1_vote_plan.id(), 0, Vote::YES as u8)
.vote_for(fund1_vote_plan.id(), 0, Vote::Yes as u8)
.unwrap();

let mut filip = vit_controller
Expand All @@ -110,7 +110,7 @@ pub async fn private_vote_e2e_flow() -> std::result::Result<(), crate::Error> {
filip.convert_and_send().unwrap();

filip
.vote_for(fund1_vote_plan.id(), 0, Vote::NO as u8)
.vote_for(fund1_vote_plan.id(), 0, Vote::No as u8)
.unwrap();

let target_date = BlockDate {
Expand Down
6 changes: 3 additions & 3 deletions integration-tests/src/public.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ pub async fn public_vote_e2e_flow() -> std::result::Result<(), crate::Error> {

// start voting
david
.vote_for(fund1_vote_plan.id(), 0, Vote::YES as u8)
.vote_for(fund1_vote_plan.id(), 0, Vote::Yes as u8)
.unwrap();

let mut edgar = vit_controller
Expand All @@ -92,7 +92,7 @@ pub async fn public_vote_e2e_flow() -> std::result::Result<(), crate::Error> {
edgar.convert_and_send().unwrap();

edgar
.vote_for(fund1_vote_plan.id(), 0, Vote::YES as u8)
.vote_for(fund1_vote_plan.id(), 0, Vote::Yes as u8)
.unwrap();

let mut filip = vit_controller
Expand All @@ -102,7 +102,7 @@ pub async fn public_vote_e2e_flow() -> std::result::Result<(), crate::Error> {
filip.convert_and_send().unwrap();

filip
.vote_for(fund1_vote_plan.id(), 0, Vote::NO as u8)
.vote_for(fund1_vote_plan.id(), 0, Vote::No as u8)
.unwrap();

let target_date = BlockDate {
Expand Down

0 comments on commit 3515c68

Please sign in to comment.