[L] 修改appbar ttd 崩溃

Signed-off-by:lisitaolisitao3@huawei.com

Signed-off-by: lisitao <lisitao3@huawei.com>
Change-Id: I67d9b8010bbcb7a1837806920a3f56b86f28dab4
This commit is contained in:
lisitao 2024-11-19 21:31:25 +08:00
parent 71c6ef8639
commit 938ae467ec

View File

@ -485,10 +485,6 @@ HWTEST_F(AppBarTestNg, TestUpdateIconLayout018, TestSize.Level1)
for (const auto& callback : Events) {
(*callback)(info);
}
MockContainer::Current()->isUIExtensionWindow_ = false;
for (const auto& callback : Events) {
(*callback)(info);
}
MockContainer::TearDown();
EXPECT_EQ(appBar->sessionId_, 0);
}