Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ra0x3 committed Jan 26, 2024
1 parent 199d41b commit f8d250f
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions packages/fuel-indexer-tests/tests/indexing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ async fn test_index_receipt_types() {

mock_request("/call").await;

let row = sqlx::query("SELECT * FROM fuel_indexer_test_index1.callentity LIMIT 1")
let row = sqlx::query("SELECT * FROM fuel_indexer_test_index1.callentity WHERE fn_name = 'trigger_pure_function' LIMIT 1")
.fetch_one(&mut conn)
.await
.unwrap();
Expand All @@ -130,10 +130,12 @@ async fn test_index_receipt_types() {

mock_request("/returndata").await;

let row = sqlx::query("SELECT * FROM fuel_indexer_test_index1.pungentity LIMIT 1")
.fetch_one(&mut conn)
.await
.unwrap();
let row = sqlx::query(
"SELECT * FROM fuel_indexer_test_index1.pungentity WHERE value = 12345 LIMIT 1",
)
.fetch_one(&mut conn)
.await
.unwrap();

let from_buff = Address::from_str(&row.get::<String, usize>(3)).unwrap();
let addr_buff = Address::from_str(
Expand Down

0 comments on commit f8d250f

Please sign in to comment.