File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/Symfony/Bridge/Doctrine Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 22
22
* @author Matthias Noback <matthiasnoback@gmail.com>
23
23
* @author Valentin Udaltsov <udaltsov.valentin@gmail.com>
24
24
*/
25
- final class MessageRecordingEntitySubscriber implements EventSubscriber
25
+ final class DispatchEntityMessagesDoctrineSubscriber implements EventSubscriber
26
26
{
27
27
/**
28
28
* @var MessageBusInterface
Original file line number Diff line number Diff line change 15
15
use Doctrine \ORM \Event \PostFlushEventArgs ;
16
16
use Doctrine \ORM \UnitOfWork ;
17
17
use PHPUnit \Framework \TestCase ;
18
- use Symfony \Bridge \Doctrine \Messenger \MessageRecordingEntitySubscriber ;
18
+ use Symfony \Bridge \Doctrine \Messenger \DispatchEntityMessagesDoctrineSubscriber ;
19
19
use Symfony \Bridge \Doctrine \Tests \Fixtures \MessageRecordingEntity ;
20
20
use Symfony \Component \Messenger \Envelope ;
21
21
use Symfony \Component \Messenger \MessageBusInterface ;
22
22
use Symfony \Component \Messenger \Stamp \DispatchAfterCurrentBusStamp ;
23
23
24
- class MessageRecordingEntitySubscriberTest extends TestCase
24
+ class DispatchEntityMessagesDoctrineSubscriberTest extends TestCase
25
25
{
26
26
public function testPostFlush (): void
27
27
{
@@ -59,7 +59,7 @@ public function testPostFlush(): void
59
59
->willReturn (new Envelope (new \stdClass ()))
60
60
;
61
61
62
- $ subscriber = new MessageRecordingEntitySubscriber ($ bus );
62
+ $ subscriber = new DispatchEntityMessagesDoctrineSubscriber ($ bus );
63
63
64
64
$ subscriber ->postFlush ($ args );
65
65
}
You can’t perform that action at this time.
0 commit comments