Skip to content

Commit

Permalink
Update name/descriptions of test data
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanfrey committed Sep 30, 2020
1 parent ee31196 commit 30d3806
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions contracts/cw721-base/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -807,8 +807,8 @@ mod tests {
let name1 = "Growing power".to_string();
let description1 = "Allows the owner the power to grow anything".to_string();
let token_id2 = "grow2".to_string();
let name2 = "Growing power".to_string();
let description2 = "Allows the owner the power to grow anything".to_string();
let name2 = "More growing power".to_string();
let description2 = "Allows the owner the power to grow anything even faster".to_string();

let mint_msg1 = HandleMsg::Mint {
token_id: token_id1.clone(),
Expand Down Expand Up @@ -884,7 +884,12 @@ mod tests {
handle(&mut deps, owner.clone(), approve_all_msg).unwrap();

let res = query_all_approvals(&deps, "person".into()).unwrap();
assert_eq!(res, ApprovedForAllResponse { operators: vec!["operator".into()] });
assert_eq!(
res,
ApprovedForAllResponse {
operators: vec!["operator".into()]
}
);

let revoke_all_msg = HandleMsg::RevokeAll {
operator: "operator".into(),
Expand Down

0 comments on commit 30d3806

Please sign in to comment.