Issue #2396657 by Mile23: Clean-up history module test members - ensure property definition and use of camelCase naming convention

8.0.x
webchick 2015-01-06 11:28:04 -08:00
parent e5587093ae
commit 33c0894d82
1 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@ class HistoryTest extends WebTestBase {
* *
* @var object * @var object
*/ */
protected $test_node; protected $testNode;
protected function setUp() { protected function setUp() {
parent::setUp(); parent::setUp();
@ -45,7 +45,7 @@ class HistoryTest extends WebTestBase {
$this->user = $this->drupalCreateUser(array('create page content', 'access content')); $this->user = $this->drupalCreateUser(array('create page content', 'access content'));
$this->drupalLogin($this->user); $this->drupalLogin($this->user);
$this->test_node = $this->drupalCreateNode(array('type' => 'page', 'uid' => $this->user->id())); $this->testNode = $this->drupalCreateNode(array('type' => 'page', 'uid' => $this->user->id()));
} }
/** /**
@ -107,7 +107,7 @@ class HistoryTest extends WebTestBase {
* Verifies that the history endpoints work. * Verifies that the history endpoints work.
*/ */
function testHistory() { function testHistory() {
$nid = $this->test_node->id(); $nid = $this->testNode->id();
// Retrieve "last read" timestamp for test node, for the current user. // Retrieve "last read" timestamp for test node, for the current user.
$response = $this->getNodeReadTimestamps(array($nid)); $response = $this->getNodeReadTimestamps(array($nid));