@@ -27,15 +27,15 @@ discard block |
||
27 | 27 | { |
28 | 28 | $uploadedFile = $this->getMockFileUpload(); |
29 | 29 | $uploadedFile->expects($this->once()) |
30 | - ->method('getClientOriginalExtension') |
|
31 | - ->will( |
|
32 | - $this->returnValue('jpg') |
|
33 | - ); |
|
30 | + ->method('getClientOriginalExtension') |
|
31 | + ->will( |
|
32 | + $this->returnValue('jpg') |
|
33 | + ); |
|
34 | 34 | $uploadedFile->expects($this->once()) |
35 | - ->method('guessExtension') |
|
36 | - ->will( |
|
37 | - $this->returnValue('jpg') |
|
38 | - ); |
|
35 | + ->method('guessExtension') |
|
36 | + ->will( |
|
37 | + $this->returnValue('jpg') |
|
38 | + ); |
|
39 | 39 | |
40 | 40 | // Test the validator. |
41 | 41 | $validator = new FileValidator(); |
@@ -49,15 +49,15 @@ discard block |
||
49 | 49 | { |
50 | 50 | $uploadedFile = $this->getMockFileUpload(); |
51 | 51 | $uploadedFile->expects($this->once()) |
52 | - ->method('getClientOriginalExtension') |
|
53 | - ->will( |
|
54 | - $this->returnValue('doc') |
|
55 | - ); |
|
52 | + ->method('getClientOriginalExtension') |
|
53 | + ->will( |
|
54 | + $this->returnValue('doc') |
|
55 | + ); |
|
56 | 56 | $uploadedFile->expects($this->once()) |
57 | - ->method('guessExtension') |
|
58 | - ->will( |
|
59 | - $this->returnValue('doc') |
|
60 | - ); |
|
57 | + ->method('guessExtension') |
|
58 | + ->will( |
|
59 | + $this->returnValue('doc') |
|
60 | + ); |
|
61 | 61 | |
62 | 62 | // Test the validator. |
63 | 63 | $validator = new FileValidator(); |