From fbc91722653ae63601249e30c31eaa20964be6b1 Mon Sep 17 00:00:00 2001 From: Haofan Zheng Date: Wed, 19 Jun 2024 01:50:17 -0700 Subject: [PATCH] Added platform id to contract unit test --- tests/DecentServer/01_DecentServerCert.sol | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/DecentServer/01_DecentServerCert.sol b/tests/DecentServer/01_DecentServerCert.sol index abe3e9d..dfa5ecf 100644 --- a/tests/DecentServer/01_DecentServerCert.sol +++ b/tests/DecentServer/01_DecentServerCert.sol @@ -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" + ); } }