@@ -385,7 +385,10 @@ impl IdentityProofServiceApi for IdentityProofService {
385385
386386#[ cfg( test) ]
387387pub mod tests {
388- use bcr_ebill_core:: blockchain:: { Blockchain , identity:: IdentityBlockchain } ;
388+ use bcr_ebill_core:: {
389+ block_id:: BlockId ,
390+ blockchain:: { Blockchain , identity:: IdentityBlockchain } ,
391+ } ;
389392
390393 use crate :: {
391394 external:: identity_proof:: MockIdentityProofApi ,
@@ -557,7 +560,7 @@ pub mod tests {
557560 timestamp : 1731593928 ,
558561 status : IdentityProofStatus :: Success ,
559562 status_last_checked_timestamp : 1731593929 ,
560- block_id : 2 ,
563+ block_id : BlockId :: next_from_previous_block_id ( & BlockId :: first ( ) ) ,
561564 } ) )
562565 } ) ;
563566 let service = get_service ( ctx) ;
@@ -577,7 +580,7 @@ pub mod tests {
577580 timestamp : 1731593928 ,
578581 status : IdentityProofStatus :: Success ,
579582 status_last_checked_timestamp : 1731593929 ,
580- block_id : 2 ,
583+ block_id : BlockId :: next_from_previous_block_id ( & BlockId :: first ( ) ) ,
581584 } ) )
582585 } ) ;
583586 let service = get_service ( ctx) ;
@@ -607,7 +610,7 @@ pub mod tests {
607610 timestamp : 1731593928 ,
608611 status : IdentityProofStatus :: Success ,
609612 status_last_checked_timestamp : 1731593929 ,
610- block_id : 2 ,
613+ block_id : BlockId :: next_from_previous_block_id ( & BlockId :: first ( ) ) ,
611614 } ) )
612615 } ) ;
613616 ctx. store
@@ -645,7 +648,7 @@ pub mod tests {
645648 timestamp : 1731593928 ,
646649 status : IdentityProofStatus :: Success ,
647650 status_last_checked_timestamp : 1731593929 ,
648- block_id : 2 ,
651+ block_id : BlockId :: next_from_previous_block_id ( & BlockId :: first ( ) ) ,
649652 } ) )
650653 } ) ;
651654 let service = get_service ( ctx) ;
0 commit comments