Loading core/modules/aggregator/tests/src/Functional/ItemCacheTagsTest.php +2 −2 Original line number Diff line number Diff line Loading @@ -56,7 +56,7 @@ protected function createEntity() { // Create a "Llama" aggregator feed item. $item = Item::create([ 'fid' => $feed->id(), 'title' => t('Llama'), 'title' => 'Llama', 'path' => 'https://www.drupal.org/', ]); $item->save(); Loading @@ -77,7 +77,7 @@ public function testEntityCreation() { // Now create a feed item in that feed. Item::create([ 'fid' => $this->entity->getFeedId(), 'title' => t('Llama 2'), 'title' => 'Llama 2', 'path' => 'https://groups.drupal.org/', ])->save(); Loading core/modules/aggregator/tests/src/Kernel/ItemWithoutFeedTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -31,7 +31,7 @@ protected function setUp(): void { */ public function testEntityCreation() { $entity = Item::create([ 'title' => t('Llama 2'), 'title' => 'Llama 2', 'path' => 'https://groups.drupal.org/', ]); $violations = $entity->validate(); Loading core/modules/block/tests/src/Kernel/BlockInterfaceTest.php +2 −2 Original line number Diff line number Diff line Loading @@ -59,7 +59,7 @@ public function testBlockInterface() { ], 'admin_label' => [ '#type' => 'item', '#title' => t('Block description'), '#title' => 'Block description', '#plain_text' => $definition['admin_label'], ], 'label' => [ Loading @@ -78,7 +78,7 @@ public function testBlockInterface() { 'context_mapping' => [], 'display_message' => [ '#type' => 'textfield', '#title' => t('Display message'), '#title' => 'Display message', '#default_value' => 'My custom display message.', ], ]; Loading core/modules/comment/tests/src/Functional/CommentPagerTest.php +2 −5 Original line number Diff line number Diff line Loading @@ -370,11 +370,8 @@ public function testTwoPagers() { // Set comments to one per page so that we are able to test paging without // needing to insert large numbers of comments. $this->setCommentsPerPage(1, $field_name); for ($i = 0; $i < 3; $i++) { $comment = t('Comment @count on field @field', [ '@count' => $i + 1, '@field' => $field_name, ]); for ($i = 1; $i <= 4; $i++) { $comment = "Comment $i on field $field_name"; $comments[] = $this->postComment($node, $comment, $comment, TRUE, $field_name); } } Loading core/modules/comment/tests/src/Functional/CommentStatusFieldAccessTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -57,7 +57,7 @@ protected function setUp(): void { parent::setUp(); $node_type = NodeType::create([ 'type' => 'article', 'name' => t('Article'), 'name' => 'Article', ]); $node_type->save(); $this->nodeAuthor = $this->drupalCreateUser([ Loading Loading
core/modules/aggregator/tests/src/Functional/ItemCacheTagsTest.php +2 −2 Original line number Diff line number Diff line Loading @@ -56,7 +56,7 @@ protected function createEntity() { // Create a "Llama" aggregator feed item. $item = Item::create([ 'fid' => $feed->id(), 'title' => t('Llama'), 'title' => 'Llama', 'path' => 'https://www.drupal.org/', ]); $item->save(); Loading @@ -77,7 +77,7 @@ public function testEntityCreation() { // Now create a feed item in that feed. Item::create([ 'fid' => $this->entity->getFeedId(), 'title' => t('Llama 2'), 'title' => 'Llama 2', 'path' => 'https://groups.drupal.org/', ])->save(); Loading
core/modules/aggregator/tests/src/Kernel/ItemWithoutFeedTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -31,7 +31,7 @@ protected function setUp(): void { */ public function testEntityCreation() { $entity = Item::create([ 'title' => t('Llama 2'), 'title' => 'Llama 2', 'path' => 'https://groups.drupal.org/', ]); $violations = $entity->validate(); Loading
core/modules/block/tests/src/Kernel/BlockInterfaceTest.php +2 −2 Original line number Diff line number Diff line Loading @@ -59,7 +59,7 @@ public function testBlockInterface() { ], 'admin_label' => [ '#type' => 'item', '#title' => t('Block description'), '#title' => 'Block description', '#plain_text' => $definition['admin_label'], ], 'label' => [ Loading @@ -78,7 +78,7 @@ public function testBlockInterface() { 'context_mapping' => [], 'display_message' => [ '#type' => 'textfield', '#title' => t('Display message'), '#title' => 'Display message', '#default_value' => 'My custom display message.', ], ]; Loading
core/modules/comment/tests/src/Functional/CommentPagerTest.php +2 −5 Original line number Diff line number Diff line Loading @@ -370,11 +370,8 @@ public function testTwoPagers() { // Set comments to one per page so that we are able to test paging without // needing to insert large numbers of comments. $this->setCommentsPerPage(1, $field_name); for ($i = 0; $i < 3; $i++) { $comment = t('Comment @count on field @field', [ '@count' => $i + 1, '@field' => $field_name, ]); for ($i = 1; $i <= 4; $i++) { $comment = "Comment $i on field $field_name"; $comments[] = $this->postComment($node, $comment, $comment, TRUE, $field_name); } } Loading
core/modules/comment/tests/src/Functional/CommentStatusFieldAccessTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -57,7 +57,7 @@ protected function setUp(): void { parent::setUp(); $node_type = NodeType::create([ 'type' => 'article', 'name' => t('Article'), 'name' => 'Article', ]); $node_type->save(); $this->nodeAuthor = $this->drupalCreateUser([ Loading