Skip to content

Commit 2f45202

Browse files
authored
Merge pull request #35 from eporsche/fix_tests
fixing vacation tests
2 parents bf0c77c + e9568cb commit 2f45202

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/Feature/EvaluationTest.php

+4
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ public function test_can_submit_fullday_illness()
138138
//Urlaub
139139
public function test_can_use_vacation_entitlement()
140140
{
141+
$this->travelTo($this->user->date_of_employment);
142+
141143
$absenceType = AbsenceType::forceCreate([
142144
'location_id' => $this->location->id,
143145
'title' => 'Urlaub',
@@ -256,6 +258,8 @@ public function test_can_submit_future_vacation_entitlement()
256258

257259
public function test_can_submit_vacation()
258260
{
261+
$this->travelTo($this->user->date_of_employment);
262+
259263
$absenceType = AbsenceType::forceCreate([
260264
'location_id' => $this->location->id,
261265
'title' => 'Urlaub',

0 commit comments

Comments
 (0)