test single assignment placement
This commit is contained in:
parent
04de3117ae
commit
ff8efd7f4a
1 changed files with 2 additions and 2 deletions
|
|
@ -203,7 +203,7 @@ class CreateScheduleTest extends TestCase
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function test_it_places_one_element_on_the_start_date(): void
|
public function test_it_places_one_element_at_the_requested_middle(): void
|
||||||
{
|
{
|
||||||
$user = $this->user();
|
$user = $this->user();
|
||||||
$setRepository = new FakeSetRepository;
|
$setRepository = new FakeSetRepository;
|
||||||
|
|
@ -240,7 +240,7 @@ class CreateScheduleTest extends TestCase
|
||||||
));
|
));
|
||||||
|
|
||||||
$this->assertSame(
|
$this->assertSame(
|
||||||
'2020-01-01',
|
'2024-12-31',
|
||||||
$schedule->getAssignments()[0]
|
$schedule->getAssignments()[0]
|
||||||
->getScheduledDate()
|
->getScheduledDate()
|
||||||
->format('Y-m-d'),
|
->format('Y-m-d'),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue