mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
tests: Remove @expectException
annotation.
This commit is contained in:
@@ -49,13 +49,13 @@ final class PickPersonTypeTest extends KernelTestCase
|
||||
|
||||
/**
|
||||
* test with an invalid center type in the option 'centers' (in an array).
|
||||
*
|
||||
* @expectedException \RuntimeException
|
||||
*/
|
||||
public function testWithInvalidOptionCenters()
|
||||
{
|
||||
$this->expectException(\RuntimeException::class);
|
||||
|
||||
$this->markTestSkipped('need to inject locale into url generator without request');
|
||||
$form = $this->formFactory
|
||||
$this->formFactory
|
||||
->createBuilder(PickPersonType::class, null, [
|
||||
'centers' => ['string'],
|
||||
])
|
||||
|
Reference in New Issue
Block a user