@@ -57,8 +57,8 @@ discard block |
||
| 57 | 57 | $dateTime = new \DateTime(); |
| 58 | 58 | |
| 59 | 59 | $this->factory->expects($this->once()) |
| 60 | - ->method('createDateTime') |
|
| 61 | - ->willReturn($dateTime); |
|
| 60 | + ->method('createDateTime') |
|
| 61 | + ->willReturn($dateTime); |
|
| 62 | 62 | |
| 63 | 63 | $this->assertSame($dateTime, $provider->getDateTime()); |
| 64 | 64 | } |
@@ -77,8 +77,8 @@ discard block |
||
| 77 | 77 | $exception = new DateTimeFactoryException($exceptionMessage); |
| 78 | 78 | |
| 79 | 79 | $this->factory->expects($this->once()) |
| 80 | - ->method('createDateTime') |
|
| 81 | - ->willThrowException($exception); |
|
| 80 | + ->method('createDateTime') |
|
| 81 | + ->willThrowException($exception); |
|
| 82 | 82 | |
| 83 | 83 | $this->expectException(DateTimeProviderException::class); |
| 84 | 84 | $this->expectExceptionMessage($exceptionMessage); |