ParagraphsIEFTests.php in Paragraphs Inline Entity Form 2.x
File
src/Tests/ParagraphsIEFTests.php
View source
<?php
namespace Drupal\paragraphs_inline_entity_form\Tests;
use Drupal\Tests\BrowserTestBase;
class ParagraphsIEFTests extends BrowserTestBase {
protected $profile = 'standard';
public static $modules = [
'ckeditor',
'entity',
'entity_browser',
'entity_embed',
'entity_reference',
'paragraphs',
'inline_entity_form',
'paragraphs_inline_entity_form_example',
];
protected $adminUser;
protected function setUp() {
parent::setUp();
$this->adminUser = $this
->drupalCreateUser([
'access administration pages',
], 'Admin', TRUE);
}
function testAdminUI() {
$this
->drupalLogin($this->adminUser);
}
}