mirror of
https://github.com/archtechx/jobpipeline.git
synced 2025-12-12 15:14:04 +00:00
test: run test sync
This commit is contained in:
parent
ad10713482
commit
53afa21806
1 changed files with 2 additions and 2 deletions
|
|
@ -162,7 +162,7 @@ class JobPipelineTest extends TestCase
|
||||||
}
|
}
|
||||||
])->send(function (TestEvent $event) {
|
])->send(function (TestEvent $event) {
|
||||||
return $event->testModel;
|
return $event->testModel;
|
||||||
})->shouldBeQueued(false)->toListener());
|
})->toListener());
|
||||||
|
|
||||||
event(new TestEvent(new TestModel()));
|
event(new TestEvent(new TestModel()));
|
||||||
|
|
||||||
|
|
@ -180,7 +180,7 @@ class JobPipelineTest extends TestCase
|
||||||
}
|
}
|
||||||
])->send(function (TestEvent $event) {
|
])->send(function (TestEvent $event) {
|
||||||
return $this->valuestore;
|
return $this->valuestore;
|
||||||
})->toListener());
|
})->shouldBeQueued(false)->toListener());
|
||||||
|
|
||||||
event(new TestEvent(new TestModel()));
|
event(new TestEvent(new TestModel()));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue