mirror of
https://github.com/archtechx/jobpipeline.git
synced 2025-12-13 21:24:03 +00:00
leave only shouldBeQueued method
This commit is contained in:
parent
c1e27eae4c
commit
ef4ded6e4e
3 changed files with 8 additions and 53 deletions
|
|
@ -87,7 +87,7 @@ class JobPipelineTest extends TestCase
|
|||
FooJob::class,
|
||||
])->send(function () {
|
||||
return $this->valuestore;
|
||||
})->shouldBeQueuedOn('another')
|
||||
})->shouldBeQueued(true, 'another')
|
||||
->toListener());
|
||||
|
||||
$this->assertFalse($this->valuestore->has('foo'));
|
||||
|
|
@ -106,7 +106,7 @@ class JobPipelineTest extends TestCase
|
|||
FooJob::class,
|
||||
])->send(function () {
|
||||
return $this->valuestore;
|
||||
})->shouldBeQueuedOn('another')
|
||||
})->shouldBeQueued(true, 'another')
|
||||
->toListener());
|
||||
|
||||
$this->assertFalse($this->valuestore->has('foo'));
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
{"foo":"bar"}
|
||||
Loading…
Add table
Add a link
Reference in a new issue