You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: doc/caveats.md
+8
Original file line number
Diff line number
Diff line change
@@ -59,3 +59,11 @@ when@test:
59
59
framework:
60
60
test: true
61
61
```
62
+
63
+
## LogicException: […] the kernel should only be booted once.
64
+
65
+
Complete error message:
66
+
67
+
> LogicException: Booting the kernel before calling "Symfony\Bundle\FrameworkBundle\Test\WebTestCase::createClient()" is not supported, the kernel should only be booted once.
68
+
69
+
Solution: Call `self::ensureKernelShutdown();` before creating the client.
0 commit comments