* @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() {
* @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() {