Skip to content

Commit

Permalink
Added platform id to contract unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenghaven committed Jun 19, 2024
1 parent 32a2b22 commit fbc9172
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/DecentServer/01_DecentServerCert.sol
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,11 @@ contract DecentServerCertCerts_proxy {
TestCerts.DECENT_SVR_CERT_KEY_ADDR,
"serverKeyAddr mismatch"
);
Assert.equal(
cert.platformId,
TestCerts.DECENT_SVR_CERT_PLAT_ID,
"serverKeyAddr mismatch"
);
}

}

0 comments on commit fbc9172

Please sign in to comment.