Skip to content

Commit

Permalink
Merge pull request #312 from liip/2.x
Browse files Browse the repository at this point in the history
chore: 2.x → 3.x
  • Loading branch information
alexislefebvre authored May 26, 2024
2 parents 63e1ac7 + a3a5e84 commit ba84127
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions doc/caveats.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,11 @@ when@test:
framework:
test: true
```

## LogicException: […] the kernel should only be booted once.

Complete error message:

> LogicException: Booting the kernel before calling "Symfony\Bundle\FrameworkBundle\Test\WebTestCase::createClient()" is not supported, the kernel should only be booted once.

Solution: Call `self::ensureKernelShutdown();` before creating the client.

0 comments on commit ba84127

Please sign in to comment.