Skip to content

Commit

Permalink
changes comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Tguntenaar committed Dec 29, 2024
1 parent 53e7cd8 commit 0fe9f1b
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,10 @@ use near_sdk::AccountId;
use serde_json::{json, Value};

/**
* Test Nearblocks mocked transactions
* Test that the proposal ids are continuous, and the name and status matches
*/

/**
* Search Proposals
* Get Proposals
* Get Proposal Snapshots
* Search RFPs
* Get RFPs
* Get RFP Snapshots
*/

#[rocket::async_test]
async fn test_proposal_ids_are_continuous_and_name_and_status_matches() {
async fn test_proposal_ids_continuous_name_status_matches() {
use rocket::local::asynchronous::Client;

let client = Client::tracked(super::rocket())
Expand All @@ -46,7 +36,7 @@ async fn test_proposal_ids_are_continuous_and_name_and_status_matches() {
result
};

assert_eq!(result.records.len(), 50);
assert_eq!(result.records.len(), 50, "Result records should be 50");

eprintln!(
"Results {:?}",
Expand Down

0 comments on commit 0fe9f1b

Please sign in to comment.