| Total Complexity | 4 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 27 | abstract class ApiTestCase extends KernelTestCase |
||
| 28 | { |
||
| 29 | use ApiTestAssertionsTrait; |
||
| 30 | |||
| 31 | protected function doTearDown(): void |
||
| 32 | { |
||
| 33 | parent::doTearDown(); |
||
| 34 | self::getClient(null); |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Creates a Client. |
||
| 39 | * |
||
| 40 | * @param array $options An array of options to pass to the createKernel method |
||
| 41 | */ |
||
| 42 | protected static function createClient(array $options = []): Client |
||
| 62 | } |
||
| 63 | } |
||
| 64 |