We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f43ee9c commit b4c7636Copy full SHA for b4c7636
1 file changed
Test/Integration/Validator/EmailValidatorTest.php
@@ -14,7 +14,8 @@ class EmailValidatorTest extends TestCase
14
public function testWithNoValue(): void
15
{
16
$validator = ObjectManager::getInstance()->get(EmailValidator::class);
17
- $this->assertTrue($validator->validate(null));
+ $error = array_pop($actualResult);
18
+ $this->assertStringContainsString('is not valid', $error, var_export($actualResult, true));
19
}
20
21
/**
0 commit comments