Skip to content
Snippets Groups Projects
Commit 8d5544c5 authored by Eileen McNaughton's avatar Eileen McNaughton
Browse files

add call to delete objects

parent ebddc2d9
Branches
Tags
No related merge requests found
......@@ -550,7 +550,7 @@ class api_v3_SyntaxConformanceTest extends CiviUnitTestCase {
// make 30 test items -- 30 > 25 (the default limit)
for ($i = 0; $i < 30; $i++) {
CRM_Core_DAO::createTestObject($baoString, array('currency' => 'USD'));
$baoObj = CRM_Core_DAO::createTestObject($baoString, array('currency' => 'USD'));
}
// each case is array(0 => $inputtedApiOptions, 1 => $expectedResultCount)
......@@ -564,6 +564,8 @@ class api_v3_SyntaxConformanceTest extends CiviUnitTestCase {
$this->checkLimitAgainstExpected($entityName, array('option.limit' => $case[0]['options']['limit']), $case[1], $case[2]);
}
}
$baoObj->deleteTestObjects($baoString);
$baoObj->free();
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment