We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 75acf1d + b4cb81a commit 5fabe59Copy full SHA for 5fabe59
library/PostObject/Date/CachedTimestampResolver.test.php
@@ -33,7 +33,7 @@ public function testResolveCachesResultFromInnerResolver()
33
$postObject = $this->createMock(PostObjectInterface::class);
34
$postObject->method('getId')->willReturn(1);
35
$postObject->method('getBlogId')->willReturn(1);
36
- $postObject->method('getPublishedTime')->willReturn("2025-02-10 12:00:00");
+ $postObject->method('getPublishedTime')->willReturn(1);
37
$innerResolver = $this->createMock(TimestampResolverInterface::class);
38
$innerResolver->expects($this->exactly(1))->method('resolve')->willReturn(123);
39
0 commit comments