Mercurial > hg > cmmr2012-drupal-site
comparison core/modules/comment/tests/src/Kernel/CommentValidationTest.php @ 4:a9cd425dd02b
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:11:55 +0000 |
parents | c75dbcec494b |
children | 12f9dff5fda9 |
comparison
equal
deleted
inserted
replaced
3:307d7a7fd348 | 4:a9cd425dd02b |
---|---|
49 'entity_type' => 'node', | 49 'entity_type' => 'node', |
50 'field_name' => 'comment', | 50 'field_name' => 'comment', |
51 'type' => 'comment', | 51 'type' => 'comment', |
52 'settings' => [ | 52 'settings' => [ |
53 'comment_type' => 'comment', | 53 'comment_type' => 'comment', |
54 ] | 54 ], |
55 ])->save(); | 55 ])->save(); |
56 | 56 |
57 // Create a page node type. | 57 // Create a page node type. |
58 $this->entityManager->getStorage('node_type')->create([ | 58 $this->entityManager->getStorage('node_type')->create([ |
59 'type' => 'page', | 59 'type' => 'page', |