Skip to content

Commit

Permalink
Merge pull request #35 from eporsche/fix_tests
Browse files Browse the repository at this point in the history
fixing vacation tests
  • Loading branch information
eporsche committed Jan 10, 2022
2 parents bf0c77c + e9568cb commit 2f45202
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/Feature/EvaluationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ public function test_can_submit_fullday_illness()
//Urlaub
public function test_can_use_vacation_entitlement()
{
$this->travelTo($this->user->date_of_employment);

$absenceType = AbsenceType::forceCreate([
'location_id' => $this->location->id,
'title' => 'Urlaub',
Expand Down Expand Up @@ -256,6 +258,8 @@ public function test_can_submit_future_vacation_entitlement()

public function test_can_submit_vacation()
{
$this->travelTo($this->user->date_of_employment);

$absenceType = AbsenceType::forceCreate([
'location_id' => $this->location->id,
'title' => 'Urlaub',
Expand Down

0 comments on commit 2f45202

Please sign in to comment.