mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-24 15:40:31 +08:00
Reset parameters in test setup, not teardown
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user