Skip to content

Commit 5fabe59

Browse files
authored
Merge pull request #1321 from helsingborg-stad/fix/cached-timestamp-test
fix: cached timestamp test
2 parents 75acf1d + b4cb81a commit 5fabe59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/PostObject/Date/CachedTimestampResolver.test.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function testResolveCachesResultFromInnerResolver()
3333
$postObject = $this->createMock(PostObjectInterface::class);
3434
$postObject->method('getId')->willReturn(1);
3535
$postObject->method('getBlogId')->willReturn(1);
36-
$postObject->method('getPublishedTime')->willReturn("2025-02-10 12:00:00");
36+
$postObject->method('getPublishedTime')->willReturn(1);
3737
$innerResolver = $this->createMock(TimestampResolverInterface::class);
3838
$innerResolver->expects($this->exactly(1))->method('resolve')->willReturn(123);
3939

0 commit comments

Comments
 (0)