Skip to content
Snippets Groups Projects
Commit 69244ea1 authored by totten's avatar totten
Browse files

CRM-13460 - CRM_Utils_RuleTest - Remove dead code

----------------------------------------
* CRM-13460: Make the numeric rule checks stricter
  http://issues.civicrm.org/jira/browse/CRM-13460
parent 4eb83f63
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ class CRM_Utils_RuleTest extends CiviUnitTestCase {
* @dataProvider positiveDataProvider
*/
function testPositive($inputData, $expectedResult) {
$this->assertEquals($expectedResult, CRM_Utils_Rule::positiveInteger($inputData, $inputType));
$this->assertEquals($expectedResult, CRM_Utils_Rule::positiveInteger($inputData));
}
function positiveDataProvider() {
......@@ -56,7 +56,7 @@ class CRM_Utils_RuleTest extends CiviUnitTestCase {
* @dataProvider numericDataProvider
*/
function testNumeric($inputData, $expectedResult) {
$this->assertEquals($expectedResult, CRM_Utils_Rule::numeric($inputData, $inputType));
$this->assertEquals($expectedResult, CRM_Utils_Rule::numeric($inputData));
}
function numericDataProvider() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment