Skip to content

Commit

Permalink
my tests failing
Browse files Browse the repository at this point in the history
  • Loading branch information
cameron1024 committed Jun 22, 2022
1 parent bb5c220 commit ae4a69f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vit-servicing-station-lib/src/db/models/proposals.rs
Expand Up @@ -462,11 +462,11 @@ pub mod test {
key: i32,
conn: &PooledConnection<ConnectionManager<DbConnection>>,
) -> (FullProposalInfo, Challenge) {
let mut proposal = get_test_proposal("asdf");
let mut proposal = get_test_proposal(format!("key"));
proposal.proposal.internal_id = key;
proposal.proposal.proposal_id = key.to_string();
proposal.proposal.proposal_title = format!("proposal number {key}");
// proposal.proposal.chain_voteplan_id = format!("voteplan_id_{key}");
proposal.voteplan.chain_voteplan_id = format!("voteplan_id_{key}");

let mut challenge = get_test_challenge_with_fund_id(proposal.proposal.fund_id);
challenge.title = format!("challenge {key}");
Expand Down

0 comments on commit ae4a69f

Please sign in to comment.