diff --git a/core/modules/history/src/Tests/HistoryTest.php b/core/modules/history/src/Tests/HistoryTest.php index cdbfd6877eb08cf4310415d094953c161808a2e5..74e14427853ef4db681ac9294201813082df7e00 100644 --- a/core/modules/history/src/Tests/HistoryTest.php +++ b/core/modules/history/src/Tests/HistoryTest.php @@ -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));