@@ -33,15 +33,15 @@ public function setUp()
33
33
public function testCouldBeGetFromContainerAsService ()
34
34
{
35
35
/** @var AsyncProcessor $processor */
36
- $ processor = static ::$ container ->get ('enqueue.events.async_processor ' );
36
+ $ processor = static ::$ container ->get ('test. enqueue.events.async_processor ' );
37
37
38
38
$ this ->assertInstanceOf (AsyncProcessor::class, $ processor );
39
39
}
40
40
41
41
public function testShouldRejectIfMessageDoesNotContainEventNameProperty ()
42
42
{
43
43
/** @var AsyncProcessor $processor */
44
- $ processor = static ::$ container ->get ('enqueue.events.async_processor ' );
44
+ $ processor = static ::$ container ->get ('test. enqueue.events.async_processor ' );
45
45
46
46
$ message = new NullMessage ();
47
47
@@ -51,7 +51,7 @@ public function testShouldRejectIfMessageDoesNotContainEventNameProperty()
51
51
public function testShouldRejectIfMessageDoesNotContainTransformerNameProperty ()
52
52
{
53
53
/** @var AsyncProcessor $processor */
54
- $ processor = static ::$ container ->get ('enqueue.events.async_processor ' );
54
+ $ processor = static ::$ container ->get ('test. enqueue.events.async_processor ' );
55
55
56
56
$ message = new NullMessage ();
57
57
$ message ->setProperty ('event_name ' , 'anEventName ' );
@@ -62,7 +62,7 @@ public function testShouldRejectIfMessageDoesNotContainTransformerNameProperty()
62
62
public function testShouldCallRealListener ()
63
63
{
64
64
/** @var AsyncProcessor $processor */
65
- $ processor = static ::$ container ->get ('enqueue.events.async_processor ' );
65
+ $ processor = static ::$ container ->get ('test. enqueue.events.async_processor ' );
66
66
67
67
$ message = new NullMessage ();
68
68
$ message ->setProperty ('event_name ' , 'test_async ' );
@@ -93,7 +93,7 @@ public function testShouldCallRealListener()
93
93
public function testShouldCallRealSubscriber ()
94
94
{
95
95
/** @var AsyncProcessor $processor */
96
- $ processor = static ::$ container ->get ('enqueue.events.async_processor ' );
96
+ $ processor = static ::$ container ->get ('test. enqueue.events.async_processor ' );
97
97
98
98
$ message = new NullMessage ();
99
99
$ message ->setProperty ('event_name ' , 'test_async_subscriber ' );
0 commit comments