mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-18 20:19:06 +08:00
Reset parameters in test setup, not teardown
This commit is contained in:
parent
ddd4181b39
commit
5c68880b56
@ -39,7 +39,7 @@
|
||||
class CollisionPreventionTest : public ::testing::Test
|
||||
{
|
||||
public:
|
||||
void TearDown() override
|
||||
void SetUp() override
|
||||
{
|
||||
param_reset_all();
|
||||
}
|
||||
|
||||
@ -41,7 +41,7 @@
|
||||
class ParameterTest : public ::testing::Test
|
||||
{
|
||||
public:
|
||||
void TearDown() override
|
||||
void SetUp() override
|
||||
{
|
||||
param_reset_all();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user