UpdateEntry action fully tested
This commit is contained in:
parent
bed4e0671e
commit
42894c40c1
|
|
@ -73,8 +73,6 @@ it('will not move to an audition for which the student is too young', function (
|
|||
'maximum_grade' => 11,
|
||||
]);
|
||||
$this->entry->student->update(['grade' => 9]);
|
||||
dump('student grade: '.$this->entry->student->grade);
|
||||
dump('new audition minimum: '.$newAudition->minimum_grade);
|
||||
($this->entryScribe)($this->entry, ['audition_id' => $newAudition->id]);
|
||||
})->throws(AuditionAdminException::class, 'The student is too young to enter that audition');
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue