File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,10 @@ class BroadcastTest extends PantherTestCase
22
22
23
23
public function testBroadcast (): void
24
24
{
25
+ if (!file_exists (__DIR__ .'/app/public/build ' )) {
26
+ throw new \Exception (sprintf ('Move into %s and execute Encore before running this test. ' , realpath (__DIR__ .'/app ' )));
27
+ }
28
+
25
29
($ client = self ::createPantherClient ())->request ('GET ' , '/books ' );
26
30
27
31
$ crawler = $ client ->submitForm ('Submit ' , ['title ' => self ::BOOK_TITLE ]);
Original file line number Diff line number Diff line change 13
13
14
14
use App \Entity \Book ;
15
15
use Doctrine \Bundle \DoctrineBundle \DoctrineBundle ;
16
- use Doctrine \Bundle \DoctrineBundle \Mapping \MappingDriver ;
17
16
use Doctrine \ORM \EntityManagerInterface ;
18
17
use Symfony \Bundle \DebugBundle \DebugBundle ;
19
18
use Symfony \Bundle \FrameworkBundle \Controller \TemplateController ;
@@ -91,10 +90,6 @@ protected function configureContainer(ContainerConfigurator $container): void
91
90
],
92
91
];
93
92
94
- if (class_exists (MappingDriver::class)) {
95
- $ doctrineConfig ['dbal ' ]['override_url ' ] = true ;
96
- }
97
-
98
93
$ container
99
94
->extension ('doctrine ' , $ doctrineConfig );
100
95
You can’t perform that action at this time.
0 commit comments