Skip to content

Commit 64e136d

Browse files
committed
patch API pagination bug again
1 parent 853648b commit 64e136d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api/src/tests/accounts_test.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,8 @@ async fn test_get_account_resources_with_pagination() {
237237
{
238238
println!("0x1::{}::{}", r.module, r.name);
239239
}
240-
assert_eq!(resources.len(), 5);
241-
assert_eq!(resources, all_resources[0..5].to_vec());
240+
assert_eq!(resources.len(), 4);
241+
assert_eq!(resources, all_resources[0..4].to_vec());
242242

243243
// Make a request using the cursor. Assert the 5 results we get back are the next 5.
244244
let req = warp::test::request().method("GET").path(&format!(

0 commit comments

Comments
 (0)