Skip to content

Commit

Permalink
chore: fixing unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
PoulainMaxime committed Sep 11, 2024
1 parent 40a21dd commit 8b11867
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@
use Symfony\Component\Form\Extension\Core\Type\NumberType;
use Symfony\Component\Form\Extension\Core\Type\TextType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\Validator\Constraints\File;
use Symfony\Component\Validator\Constraints\NotBlank;
use Symfony\Contracts\Translation\TranslatorInterface;
use Symfony\Component\Validator\Constraints\File;

class GeneralSettings extends TranslatorAwareType
{
Expand Down Expand Up @@ -101,7 +101,7 @@ public function buildForm(FormBuilderInterface $builder, array $options)
],
'mimeTypesMessage' => $this->trans('Please upload a valid jpeg file', 'Admin.Carriers.Form.LogoUpload'),
'maxSizeMessage' => $this->trans('The file is too large. Allowed maximum size is 8MB.', 'Admin.Carriers.Form.LogoUpload'),
])
]),
],
])
->add('tracking_url', TextType::class, [
Expand Down

0 comments on commit 8b11867

Please sign in to comment.