File tree Expand file tree Collapse file tree 1 file changed +3
-18
lines changed
pkg/enqueue-bundle/Tests/Unit/DependencyInjection Expand file tree Collapse file tree 1 file changed +3
-18
lines changed Original file line number Diff line number Diff line change @@ -445,25 +445,10 @@ public function testShouldAddJobQueueEntityMapping()
445
445
446
446
$ extension ->prepend ($ container );
447
447
448
- $ expectedConfig = [
449
- [
450
- 'orm ' => [
451
- 'mappings ' => [
452
- 'enqueue_job_queue ' => [
453
- 'is_bundle ' => false ,
454
- 'type ' => 'xml ' ,
455
- 'dir ' => '/mqdev/pkg/job-queue/Doctrine/mapping ' ,
456
- 'prefix ' => 'Enqueue\JobQueue\Doctrine\Entity ' ,
457
- ],
458
- ],
459
- ],
460
- ],
461
- [
462
- 'dbal ' => true ,
463
- ],
464
- ];
448
+ $ config = $ container ->getExtensionConfig ('doctrine ' );
465
449
466
- $ this ->assertSame ($ expectedConfig , $ container ->getExtensionConfig ('doctrine ' ));
450
+ $ this ->assertSame (['dbal ' => true ], $ config [1 ]);
451
+ $ this ->assertNotEmpty ($ config [0 ]['orm ' ]['mappings ' ]['enqueue_job_queue ' ]);
467
452
}
468
453
469
454
public function testShouldNotAddJobQueueEntityMappingIfDoctrineBundleIsNotRegistered ()
You can’t perform that action at this time.
0 commit comments