Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 88f6c8b

Browse files
authored
Improve exception message
1 parent 5ced1e5 commit 88f6c8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Form/Tests/Extension/PasswordHasher/Type/PasswordTypePasswordHasherExtensionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public function testPasswordHashOnInvalidForm()
112112
public function testPasswordHashOnInvalidData()
113113
{
114114
$this->expectException(InvalidConfigurationException::class);
115-
$this->expectExceptionMessage('The "hash_property_path" option only supports "Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface" objects.');
115+
$this->expectExceptionMessage('The "hash_property_path" option only supports "Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface" objects, "array" given.');
116116

117117
$form = $this->factory
118118
->createBuilder('Symfony\Component\Form\Extension\Core\Type\FormType', [])

0 commit comments

Comments
 (0)