//Assert if from clause joins the custom table.
$this->assertTrue(strpos($query->_fromClause, $cgTableName) !== FALSE);
$this->callAPISuccess('CustomField', 'delete', ['id' => $customField['id']]);
//Assert if from clause joins the custom table.
$this->assertTrue(strpos($query->_fromClause, $cgTableName) !== FALSE);
$this->callAPISuccess('CustomField', 'delete', ['id' => $customField['id']]);