projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pull merge.
[yaffs-website]
/
web
/
core
/
modules
/
comment
/
tests
/
src
/
Unit
/
CommentLinkBuilderTest.php
diff --git
a/web/core/modules/comment/tests/src/Unit/CommentLinkBuilderTest.php
b/web/core/modules/comment/tests/src/Unit/CommentLinkBuilderTest.php
index 8aaae756098157d62bcdd21503d8fe6682b035d8..48db158f612ac4b6af4362ea42ea8c9720e4ffcc 100644
(file)
--- a/
web/core/modules/comment/tests/src/Unit/CommentLinkBuilderTest.php
+++ b/
web/core/modules/comment/tests/src/Unit/CommentLinkBuilderTest.php
@@
-60,7
+60,7
@@
class CommentLinkBuilderTest extends UnitTestCase {
protected $timestamp;
/**
protected $timestamp;
/**
- * @var \Drupal\comment\CommentLinkBuilderInterface
;
+ * @var \Drupal\comment\CommentLinkBuilderInterface
*/
protected $commentLinkBuilder;
*/
protected $commentLinkBuilder;
@@
-310,7
+310,7
@@
class CommentLinkBuilderTest extends UnitTestCase {
$url = Url::fromRoute('node.view');
$node->expects($this->any())
$url = Url::fromRoute('node.view');
$node->expects($this->any())
- ->method('
urlInfo
')
+ ->method('
toUrl
')
->willReturn($url);
$node->expects($this->any())
->method('url')
->willReturn($url);
$node->expects($this->any())
->method('url')
@@
-324,7
+324,9
@@
class CommentLinkBuilderTest extends UnitTestCase {
namespace Drupal\comment;
if (!function_exists('history_read')) {
namespace Drupal\comment;
if (!function_exists('history_read')) {
+
function history_read() {
return 0;
}
function history_read() {
return 0;
}
+
}
}