[tests] fix build error in nexus_discover_scan test (#12360)

This commit updates `tests/nexus/test_discover_scan.cpp` to use
`MeshCoP::NetworkIdentity` instead of `MeshCoP::ExtendedPanIdManager`.
The latter was renamed in the core codebase, leading to a build
failure in the nexus discovery scan test.
This commit is contained in:
Jonathan Hui
2026-02-03 11:09:55 -08:00
committed by GitHub
parent d388095b66
commit a7362c1a45
+1 -1
View File
@@ -149,7 +149,7 @@ void TestDiscoverScanRequestCallback(void)
result = &resultContext.mScanResults[0];
VerifyOrQuit(AsCoreType(&result->mExtAddress) == leader.Get<Mac::Mac>().GetExtAddress());
VerifyOrQuit(AsCoreType(&result->mExtendedPanId) == leader.Get<MeshCoP::ExtendedPanIdManager>().GetExtPanId());
VerifyOrQuit(AsCoreType(&result->mExtendedPanId) == leader.Get<MeshCoP::NetworkIdentity>().GetExtPanId());
VerifyOrQuit(result->mPanId == leader.Get<Mac::Mac>().GetPanId());
VerifyOrQuit(result->mChannel == leader.Get<Mac::Mac>().GetPanChannel());
VerifyOrQuit(result->mDiscover);