Fix wallet test
This commit is contained in:
parent
4e4a1643c4
commit
c55ada2f26
|
@ -52,8 +52,8 @@ fn test_wallet_deploy_program() {
|
||||||
.unwrap();
|
.unwrap();
|
||||||
let account_info_obj = account_info.as_object().unwrap();
|
let account_info_obj = account_info.as_object().unwrap();
|
||||||
assert_eq!(account_info_obj.get("tokens").unwrap().as_u64().unwrap(), 1);
|
assert_eq!(account_info_obj.get("tokens").unwrap().as_u64().unwrap(), 1);
|
||||||
let loader_array = account_info.get("loader").unwrap();
|
let owner_array = account_info.get("owner").unwrap();
|
||||||
assert_eq!(loader_array, &json!(bpf_loader::id()));
|
assert_eq!(owner_array, &json!(bpf_loader::id()));
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
account_info_obj
|
account_info_obj
|
||||||
.get("executable")
|
.get("executable")
|
||||||
|
|
Loading…
Reference in New Issue