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
2222
2323 public function testBroadcast (): void
2424 {
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+
2529 ($ client = self ::createPantherClient ())->request ('GET ' , '/books ' );
2630
2731 $ crawler = $ client ->submitForm ('Submit ' , ['title ' => self ::BOOK_TITLE ]);
Original file line number Diff line number Diff line change 1313
1414use App \Entity \Book ;
1515use Doctrine \Bundle \DoctrineBundle \DoctrineBundle ;
16- use Doctrine \Bundle \DoctrineBundle \Mapping \MappingDriver ;
1716use Doctrine \ORM \EntityManagerInterface ;
1817use Symfony \Bundle \DebugBundle \DebugBundle ;
1918use Symfony \Bundle \FrameworkBundle \Controller \TemplateController ;
@@ -91,10 +90,6 @@ protected function configureContainer(ContainerConfigurator $container): void
9190 ],
9291 ];
9392
94- if (class_exists (MappingDriver::class)) {
95- $ doctrineConfig ['dbal ' ]['override_url ' ] = true ;
96- }
97-
9893 $ container
9994 ->extension ('doctrine ' , $ doctrineConfig );
10095
You can’t perform that action at this time.
0 commit comments