Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
robertotcestari committed Aug 22, 2024
1 parent 907b414 commit db828e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/Validation/ValidationValidatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4879,7 +4879,8 @@ public function testValidateImage()

$file8 = $this->getMockBuilder(UploadedFile::class)->onlyMethods(['guessExtension', 'getClientOriginalExtension'])->setConstructorArgs($uploadedFile)->getMock();
$file8->expects($this->any())->method('guessExtension')->willReturn('avif');
$file8->expects($this->any())->method('getClientOriginalExtension')->willReturn('avif'); $v = new Validator($trans, ['x' => $file8], ['x' => 'Image']);
$file8->expects($this->any())->method('getClientOriginalExtension')->willReturn('avif');
$v = new Validator($trans, ['x' => $file8], ['x' => 'Image']);
$this->assertTrue($v->passes());
}

Expand Down

0 comments on commit db828e2

Please sign in to comment.