protected $timestamp;
/**
- * @var \Drupal\comment\CommentLinkBuilderInterface;
+ * @var \Drupal\comment\CommentLinkBuilderInterface
*/
protected $commentLinkBuilder;
$url = Url::fromRoute('node.view');
$node->expects($this->any())
- ->method('urlInfo')
+ ->method('toUrl')
->willReturn($url);
$node->expects($this->any())
->method('url')
namespace Drupal\comment;
if (!function_exists('history_read')) {
+
function history_read() {
return 0;
}
+
}