Commit 33c0894d authored by webchick's avatar webchick

Issue #2396657 by Mile23: Clean-up history module test members - ensure...

Issue #2396657 by Mile23: Clean-up history module test members - ensure property definition and use of camelCase naming convention
parent e5587093
......@@ -36,7 +36,7 @@ class HistoryTest extends WebTestBase {
*
* @var object
*/
protected $test_node;
protected $testNode;
protected function setUp() {
parent::setUp();
......@@ -45,7 +45,7 @@ protected function setUp() {
$this->user = $this->drupalCreateUser(array('create page content', 'access content'));
$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 @@ protected function markNodeAsRead($node_id) {
* Verifies that the history endpoints work.
*/
function testHistory() {
$nid = $this->test_node->id();
$nid = $this->testNode->id();
// Retrieve "last read" timestamp for test node, for the current user.
$response = $this->getNodeReadTimestamps(array($nid));
......
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