Mercurial > hg > isophonics-drupal-site
comparison core/modules/comment/src/Tests/Views/CommentTestBase.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | 4c8ae668cc8c |
children |
comparison
equal
deleted
inserted
replaced
13:5fb285c0d0e3 | 14:1fec387a4317 |
---|---|
61 * | 61 * |
62 * @var \Drupal\comment\Entity\Comment | 62 * @var \Drupal\comment\Entity\Comment |
63 */ | 63 */ |
64 protected $comment; | 64 protected $comment; |
65 | 65 |
66 protected function setUp() { | 66 protected function setUp($import_test_views = TRUE) { |
67 parent::setUp(); | 67 parent::setUp($import_test_views); |
68 | 68 |
69 ViewTestData::createTestViews(get_class($this), ['comment_test_views']); | 69 ViewTestData::createTestViews(get_class($this), ['comment_test_views']); |
70 | 70 |
71 // Add two users, create a node with the user1 as author and another node | 71 // Add two users, create a node with the user1 as author and another node |
72 // with user2 as author. For the second node add a comment from user1. | 72 // with user2 as author. For the second node add a comment from user1. |