Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 425f44da authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "health 2.0 vts: Allow for battery-less devices" am: c9d0f25c

Change-Id: I6b74df99021a780f70c8bbb07e68d58f19e8b163
parents 79329fef c9d0f25c
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -315,9 +315,7 @@ TEST_P(HealthHidlTest, getEnergyCounter) {
TEST_P(HealthHidlTest, getChargeStatus) {
    SKIP_IF_SKIPPED();
    EXPECT_OK(mHealth->getChargeStatus([](auto result, auto value) {
        EXPECT_VALID_OR_UNSUPPORTED_PROP(
            result, toString(value),
            value != BatteryStatus::UNKNOWN && verifyEnum<BatteryStatus>(value));
        EXPECT_VALID_OR_UNSUPPORTED_PROP(result, toString(value), verifyEnum<BatteryStatus>(value));
    }));
}