public function PanelizerLayoutIDUpdateTest::testUpdate in Panelizer 8.4
Same name and namespace in other branches
- 8.5 tests/src/Functional/Update/PanelizerLayoutIDUpdateTest.php \Drupal\Tests\panelizer\Functional\Update\PanelizerLayoutIDUpdateTest::testUpdate()
Test updates.
File
- tests/
src/ Functional/ Update/ PanelizerLayoutIDUpdateTest.php, line 27
Class
- PanelizerLayoutIDUpdateTest
- Tests the updating of Layout IDs.
Namespace
Drupal\Tests\panelizer\Functional\UpdateCode
public function testUpdate() {
$this
->runUpdates();
$this
->drupalLogin($this->rootUser);
$this
->drupalGet('admin/structure/types/manage/article/display');
$this
->clickLink('Edit', 1);
$this
->assertResponse(200);
$this
->drupalGet('node/1');
$this
->assertResponse(200);
$this
->drupalGet('node/2');
$this
->assertResponse(200);
}