mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 22:33:44 +02:00
Update calls to missing function
This commit is contained in:
@@ -81,7 +81,7 @@ class TaskCreationServiceTest extends TestCase
|
||||
{
|
||||
$schedule = factory(Schedule::class)->make();
|
||||
|
||||
$this->repository->shouldReceive('withoutFresh')->withNoArgs()->once()->andReturnSelf()
|
||||
$this->repository->shouldReceive('withoutFreshModel')->withNoArgs()->once()->andReturnSelf()
|
||||
->shouldReceive('create')->with([
|
||||
'schedule_id' => $schedule->id,
|
||||
'sequence_id' => 1,
|
||||
@@ -108,7 +108,7 @@ class TaskCreationServiceTest extends TestCase
|
||||
*/
|
||||
public function testIdCanBePassedInPlaceOfScheduleModel()
|
||||
{
|
||||
$this->repository->shouldReceive('withoutFresh')->withNoArgs()->once()->andReturnSelf()
|
||||
$this->repository->shouldReceive('withoutFreshModel')->withNoArgs()->once()->andReturnSelf()
|
||||
->shouldReceive('create')->with([
|
||||
'schedule_id' => 1234,
|
||||
'sequence_id' => 1,
|
||||
|
||||
Reference in New Issue
Block a user