Skip to content

Commit

Permalink
Test no fail
Browse files Browse the repository at this point in the history
  • Loading branch information
jlatusek authored and mbknust committed Feb 2, 2024
1 parent f5deb3a commit 8926645
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/access/tests/TestAccessControl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1099,7 +1099,6 @@ TEST_F(TestAccessControl, MetaTest)
EXPECT_TRUE(CompareAccessControl(accessControl, entryData1, entryData1Count) == CHIP_NO_ERROR);
EXPECT_TRUE(accessControl.DeleteEntry(3) == CHIP_NO_ERROR);
EXPECT_TRUE(CompareAccessControl(accessControl, entryData1, entryData1Count) != CHIP_NO_ERROR);
EXPECT_TRUE(false);
}

TEST_F(TestAccessControl, TestAclValidateAuthModeSubject)
Expand All @@ -1114,7 +1113,6 @@ TEST_F(TestAccessControl, TestAclValidateAuthModeSubject)
EXPECT_TRUE(entry.SetAuthMode(AuthMode::kCase) == CHIP_NO_ERROR);
EXPECT_TRUE(entry.AddSubject(nullptr, kOperationalNodeId0) == CHIP_NO_ERROR);
EXPECT_TRUE(entry.AddTarget(nullptr, { .flags = Target::kCluster, .cluster = kOnOffCluster }) == CHIP_NO_ERROR);
EXPECT_TRUE(false);

// Each case tries to update the first entry, then add a second entry, then unconditionally delete it
EXPECT_TRUE(accessControl.CreateEntry(nullptr, entry) == CHIP_NO_ERROR);
Expand Down

0 comments on commit 8926645

Please sign in to comment.