File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -60,8 +60,8 @@ async fn test_statistics_one_contact() -> Result<()> {
60
60
let r2: serde_json:: Value = serde_json:: from_str ( & stats) ?;
61
61
62
62
assert_eq ! (
63
- r. get( "key_created " ) . unwrap( ) ,
64
- r2. get( "key_created " ) . unwrap( )
63
+ r. get( "key_create_timestamps " ) . unwrap( ) ,
64
+ r2. get( "key_create_timestamps " ) . unwrap( )
65
65
) ;
66
66
assert_eq ! (
67
67
r. get( "statistics_id" ) . unwrap( ) ,
@@ -500,9 +500,9 @@ async fn test_statistics_key_creation_timestamp() -> Result<()> {
500
500
501
501
let r = get_statistics ( alice) . await ?;
502
502
let r: serde_json:: Value = serde_json:: from_str ( & r) ?;
503
- let key_created = r. get ( "key_created " ) . unwrap ( ) . as_array ( ) . unwrap ( ) ;
503
+ let key_create_timestamps = r. get ( "key_create_timestamps " ) . unwrap ( ) . as_array ( ) . unwrap ( ) ;
504
504
assert_eq ! (
505
- key_created ,
505
+ key_create_timestamps ,
506
506
& vec![ Value :: Number (
507
507
Number :: from_u128( ALICE_KEY_CREATION_TIME ) . unwrap( )
508
508
) ]
You can’t perform that action at this time.
0 commit comments