1
0
Fork 0
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:
Jonathan Martins 2023-03-02 14:19:06 -03:00
parent c1e27eae4c
commit ef4ded6e4e
3 changed files with 8 additions and 53 deletions

View file

@ -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'));

View file

@ -0,0 +1 @@
{"foo":"bar"}