mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 01:46:45 +02:00
MDL-82571 customfield_number: small coding style cleanup.
This commit is contained in:
parent
cbcb9d071f
commit
865e8f3e90
2 changed files with 7 additions and 7 deletions
|
@ -132,17 +132,17 @@ final class data_controller_test extends advanced_testcase {
|
|||
'Export float value' => [42, 42.0, [
|
||||
'decimalplaces' => 2,
|
||||
'display' => '{value}',
|
||||
'displaywhenzero' => 0],
|
||||
],
|
||||
'displaywhenzero' => 0,
|
||||
]],
|
||||
'Export value with a prefix' => [10, '$ 10.00', [
|
||||
'decimalplaces' => 2,
|
||||
'display' => $template,
|
||||
'displaywhenzero' => 0],
|
||||
],
|
||||
'displaywhenzero' => 0,
|
||||
]],
|
||||
'Export value when zero' => [0, 'Unknown', [
|
||||
'display' => '{value}',
|
||||
'displaywhenzero' => $whenzero],
|
||||
],
|
||||
'displaywhenzero' => $whenzero,
|
||||
]],
|
||||
];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue