Skip to content

Commit e67a3f1

Browse files
author
Zoran Cvetkov
committed
cleanup
1 parent 31c54e5 commit e67a3f1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

store/test-store/tests/postgres/store.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1522,7 +1522,7 @@ fn handle_large_string_with_index() {
15221522
block: BlockNumber,
15231523
vid: i64,
15241524
) -> EntityModification {
1525-
let data = entity! { schema => id: id, name: name, vid: vid };
1525+
let data = entity! { schema => id: id, name: name };
15261526

15271527
let key = USER_TYPE.parse_key(id).unwrap();
15281528

@@ -1622,7 +1622,7 @@ fn handle_large_bytea_with_index() {
16221622
block: BlockNumber,
16231623
vid: i64,
16241624
) -> EntityModification {
1625-
let data = entity! { schema => id: id, bin_name: scalar::Bytes::from(name), vid: vid };
1625+
let data = entity! { schema => id: id, bin_name: scalar::Bytes::from(name) };
16261626

16271627
let key = USER_TYPE.parse_key(id).unwrap();
16281628

@@ -2157,15 +2157,15 @@ fn reorg_tracking() {
21572157
check_state!(store, 2, 2, 2);
21582158

21592159
// Forward to block 3
2160-
update_john(&subgraph_store, &deployment, 70, &TEST_BLOCK_3_PTR, 30).await;
2160+
update_john(&subgraph_store, &deployment, 70, &TEST_BLOCK_3_PTR, 5).await;
21612161
check_state!(store, 2, 2, 3);
21622162

21632163
// Forward to block 4
2164-
update_john(&subgraph_store, &deployment, 71, &TEST_BLOCK_4_PTR, 40).await;
2164+
update_john(&subgraph_store, &deployment, 71, &TEST_BLOCK_4_PTR, 6).await;
21652165
check_state!(store, 2, 2, 4);
21662166

21672167
// Forward to block 5
2168-
update_john(&subgraph_store, &deployment, 72, &TEST_BLOCK_5_PTR, 50).await;
2168+
update_john(&subgraph_store, &deployment, 72, &TEST_BLOCK_5_PTR, 7).await;
21692169
check_state!(store, 2, 2, 5);
21702170

21712171
// Revert all the way back to block 2

0 commit comments

Comments
 (0)