Skip to content

Commit

Permalink
Fix api test in tlsn-core
Browse files Browse the repository at this point in the history
  • Loading branch information
th4s committed Nov 19, 2023
1 parent 4d9e240 commit 0a300d7
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tlsn/tlsn-core/tests/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,7 @@ fn test_api() {
&ephem_key,
&notarized_session_data.commitments().merkle_root(),
header.encoder_seed(),
notarized_session_data
.session_data()
.session_info()
.handshake_data_decommitment(),
&notarized_session_data.session_info().handshake_decommitment,
)
.unwrap();

Expand Down Expand Up @@ -184,7 +181,7 @@ fn test_api() {

// assert dns name is expected
assert_eq!(
session_info.server_name().as_ref(),
session_info.server_name.as_ref(),
testdata.dns_name.as_str()
);

Expand Down

0 comments on commit 0a300d7

Please sign in to comment.