Skip to content

Commit a6e021e

Browse files
author
Robert He
committed
MAGETWO-31371: Improve Unit and Integration test coverage
- more fixes from review
1 parent 6052518 commit a6e021e

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

app/code/Magento/Tax/Test/Unit/GetterSetterTest.php

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,11 @@ public function testGettersSetters($className = null, $variables = null)
3636
$variableValue = $obj;
3737
$variables[$variableName] = $variableValue;
3838
}
39-
$this->assertNotFalse(call_user_func(
40-
[$classObject, $setterName], $variableValue),
39+
$this->assertNotFalse(
40+
call_user_func(
41+
[$classObject, $setterName],
42+
$variableValue
43+
),
4144
"Calling method " . $setterName . " failed in " . $className
4245
);
4346
}
@@ -55,7 +58,8 @@ public function testGettersSetters($className = null, $variables = null)
5558
"Calling method " . $getterName . " failed in " . $className
5659
);
5760
$this->assertSame(
58-
$result, $variableValue,
61+
$result,
62+
$variableValue,
5963
"Value from " . $getterName . "did not match in " . $className
6064
);
6165
}

0 commit comments

Comments
 (0)