Skip to content
Snippets Groups Projects
Commit 33c0894d authored by Angie Byron's avatar Angie Byron
Browse files

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
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment