Fix qa tests so they don't assert on cleanup.

This commit is contained in:
Jeff Young 2022-11-11 20:31:39 +00:00
parent 138f835672
commit 9d525e82f5
1 changed files with 5 additions and 0 deletions
qa/unittests/pcbnew

View File

@ -62,6 +62,11 @@ public:
{
}
~TEST_BOARD_ITEM_FIXTURE()
{
m_text.SetParentGroup( nullptr );
}
BOARD_ITEM* Instantiate( KICAD_T aType )
{
if( !IsPcbnewType( aType ) )