Skip to content

Commit d785e91

Browse files
author
David Ala
committed
Test: added teardowns
1 parent 90920bf commit d785e91

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/usecases/competencies/change_assignment_via_form_test.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ public function test_changing_assignment_via_form_to_complete(array $bdata): voi
209209
$this->assertCount(1, $assignedmail);
210210
$this->assertCount(1, $completedmail);
211211
$this->assertCount(2, $sentmessages);
212+
$this->tearDown();
212213
}
213214

214215
/**
@@ -338,6 +339,7 @@ public function test_changing_assignment_via_form_back_to_assigned(array $bdata)
338339
$this->assertCount(1, $assignedmail);
339340
$this->assertCount(0, $completedmail);
340341
$this->assertCount(1, $sentmessages);
342+
$this->tearDown();
341343
}
342344

343345
/**
@@ -483,6 +485,7 @@ public function test_changing_assignment_via_form_extend_duedate(array $bdata):
483485
$this->assertCount(1, $overduemail);
484486
$this->assertCount(0, $completedmail);
485487
$this->assertCount(4, $sentmessages);
488+
$this->tearDown();
486489
}
487490

488491
/**

0 commit comments

Comments
 (0)