diff --git a/core/modules/aggregator/src/Tests/Views/AggregatorFeedViewsFieldAccessTest.php b/core/modules/aggregator/src/Tests/Views/AggregatorFeedViewsFieldAccessTest.php index 13ca9d0..22fa017 100644 --- a/core/modules/aggregator/src/Tests/Views/AggregatorFeedViewsFieldAccessTest.php +++ b/core/modules/aggregator/src/Tests/Views/AggregatorFeedViewsFieldAccessTest.php @@ -43,10 +43,11 @@ public function testAggregatorFeedFields() { 'refresh' => 60, 'checked' => 1, 'queued' => 0, - 'description' => '', - 'image' => '', - 'etag' => '', - 'modified' => REQUEST_TIME, + 'description' => 'The description', + 'image' => 'The image', + 'hash' => 'The hash', + 'etag' => 'The etag', + 'modified' => '285206400', ]); $feed->save(); @@ -64,7 +65,7 @@ public function testAggregatorFeedFields() { $this->assertFieldAccess('aggregator_feed', 'image', $feed->getImage()); $this->assertFieldAccess('aggregator_feed', 'hash', $feed->getHash()); $this->assertFieldAccess('aggregator_feed', 'etag', $feed->getEtag()); - $this->assertFieldAccess('aggregator_feed', 'modified', $feed->getLastModified()); + $this->assertFieldAccess('aggregator_feed', 'modified', '01/15/1979'); } }