fix tests
This commit is contained in:
@@ -14,8 +14,7 @@ class AttendanceCommentTemplateController extends Controller
|
||||
public function __construct(
|
||||
protected AttendanceCommentTemplateService $service,
|
||||
protected ApplicationUrlService $urls,
|
||||
) {
|
||||
}
|
||||
) {}
|
||||
|
||||
public function bootstrapUrls(): JsonResponse
|
||||
{
|
||||
@@ -75,7 +74,7 @@ class AttendanceCommentTemplateController extends Controller
|
||||
}
|
||||
|
||||
$data = $validator->validated();
|
||||
if (!array_key_exists('is_active', $data)) {
|
||||
if (! array_key_exists('is_active', $data)) {
|
||||
$data['is_active'] = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user