Skip to content

Commit 647ea28

Browse files
committed
use false instead of null to hide the currency symbol
This slipped in with #61296. Technically, there shouldn't be a difference but since we explicitly mention false in the documentation let's better be safe here.
1 parent 406d2b9 commit 647ea28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Extension/Core/Type/MoneyTypeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public function testSubmitNull($expected = null, $norm = null, $view = null)
7676

7777
public function testMoneyPatternWithoutCurrency()
7878
{
79-
$view = $this->factory->create(static::TESTED_TYPE, null, ['currency' => null])
79+
$view = $this->factory->create(static::TESTED_TYPE, null, ['currency' => false])
8080
->createView();
8181

8282
$this->assertSame('{{ widget }}', $view->vars['money_pattern']);

0 commit comments

Comments
 (0)