Skip to content

Commit 655535b

Browse files
committed
Fix CI issues
- Changed test fixture member variable access. - Removed a todo that was resolved.
1 parent 3c97a4a commit 655535b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/mavsdk/core/mavlink_mission_transfer_server_test.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,14 +272,15 @@ class MavlinkMissionTransferServerTest : public ::testing::Test {
272272

273273
class MissionTypeParameterTest : public MavlinkMissionTransferServerTest,
274274
public ::testing::WithParamInterface<uint8_t> {
275+
public:
276+
uint8_t mission_type{};
277+
275278
protected:
276279
void SetUp() override
277280
{
278281
MavlinkMissionTransferServerTest::SetUp();
279282
mission_type = GetParam();
280283
}
281-
282-
uint8_t mission_type{};
283284
};
284285

285286
TEST_P(MissionTypeParameterTest, ReceiveIncomingMissionSendsMissionRequests)
@@ -530,7 +531,7 @@ TEST_P(MissionTypeParameterTest, SendOutgoingMissionEmptyMission)
530531
target_address.system_id,
531532
target_address.component_id,
532533
[&prom, this](Result result) {
533-
EXPECT_EQ(result, Result::Success); /// @todo fix test
534+
EXPECT_EQ(result, Result::Success);
534535
ONCE_ONLY;
535536
prom.set_value();
536537
});

0 commit comments

Comments
 (0)