minor #34112 [SecurityBundle] Fix wrong assertion (chalasr)
This PR was merged into the 4.3 branch.
Discussion
----------
[SecurityBundle] Fix wrong assertion
| Q | A
| ------------- | ---
| Branch? | 4.3
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Tickets | -
| License | MIT
| Doc PR | -
Commits
-------
8e56f46150
[SecurityBundle] Fix wrong assertion
This commit is contained in:
commit
48d189b46b
@ -24,7 +24,7 @@ class MissingUserProviderTest extends AbstractWebTestCase
|
|||||||
|
|
||||||
$response = $client->getResponse();
|
$response = $client->getResponse();
|
||||||
$this->assertSame(500, $response->getStatusCode());
|
$this->assertSame(500, $response->getStatusCode());
|
||||||
$this->stringContains('Symfony\Component\Config\Definition\Exception\InvalidConfigurationException', $response->getContent());
|
$this->assertStringContainsString('Symfony\Component\Config\Definition\Exception\InvalidConfigurationException', $response->getContent());
|
||||||
$this->stringContains('"default" firewall requires a user provider but none was defined.', $response->getContent());
|
$this->assertStringContainsString('"default" firewall requires a user provider but none was defined', html_entity_decode($response->getContent()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user