Commit a8e5ecc4 authored by alexpott's avatar alexpott

Issue #2387965 by hussainweb, tadityar: Clean-up telephone module test members...

Issue #2387965 by hussainweb, tadityar: Clean-up telephone module test members - ensure property definition and use of camelCase naming convention
parent d3e3d701
...@@ -27,15 +27,19 @@ class TelephoneFieldTest extends WebTestBase { ...@@ -27,15 +27,19 @@ class TelephoneFieldTest extends WebTestBase {
'telephone' 'telephone'
); );
protected $field; /**
protected $web_user; * A user with permission to create articles.
*
* @var \Drupal\user\UserInterface
*/
protected $webUser;
protected function setUp() { protected function setUp() {
parent::setUp(); parent::setUp();
$this->drupalCreateContentType(array('type' => 'article')); $this->drupalCreateContentType(array('type' => 'article'));
$this->article_creator = $this->drupalCreateUser(array('create article content', 'edit own article content')); $this->webUser = $this->drupalCreateUser(array('create article content', 'edit own article content'));
$this->drupalLogin($this->article_creator); $this->drupalLogin($this->webUser);
} }
// Test fields. // Test fields.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment