projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website]
/
web
/
core
/
modules
/
comment
/
tests
/
src
/
Functional
/
CommentTestBase.php
diff --git
a/web/core/modules/comment/tests/src/Functional/CommentTestBase.php
b/web/core/modules/comment/tests/src/Functional/CommentTestBase.php
index 7cadcbffe98a1a247939ac14ea1fb3d5f8b3e79f..f93005dc5a6cb223a540641e58093a027ac4a210 100644
(file)
--- a/
web/core/modules/comment/tests/src/Functional/CommentTestBase.php
+++ b/
web/core/modules/comment/tests/src/Functional/CommentTestBase.php
@@
-336,7
+336,7
@@
abstract class CommentTestBase extends BrowserTestBase {
* Contact info is available.
*/
public function commentContactInfoAvailable() {
* Contact info is available.
*/
public function commentContactInfoAvailable() {
- return preg_match('/(input).*?(name="name").*?(input).*?(name="mail").*?(input).*?(name="homepage")/s', $this->get
Raw
Content());
+ return preg_match('/(input).*?(name="name").*?(input).*?(name="mail").*?(input).*?(name="homepage")/s', $this->get
Session()->getPage()->get
Content());
}
/**
}
/**
@@
-375,7
+375,7
@@
abstract class CommentTestBase extends BrowserTestBase {
*/
public function getUnapprovedComment($subject) {
$this->drupalGet('admin/content/comment/approval');
*/
public function getUnapprovedComment($subject) {
$this->drupalGet('admin/content/comment/approval');
- preg_match('/href="(.*?)#comment-([^"]+)"(.*?)>(' . $subject . ')/', $this->get
Raw
Content(), $match);
+ preg_match('/href="(.*?)#comment-([^"]+)"(.*?)>(' . $subject . ')/', $this->get
Session()->getPage()->get
Content(), $match);
return $match[2];
}
return $match[2];
}