diff --git a/core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php b/core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php index f73f4155fb489ea67e75a7ca33d560707b84dc9f..a7424d2534c4d5f42623d9b6bed2f8444675241a 100644 --- a/core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php +++ b/core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php @@ -63,7 +63,7 @@ protected function addConnection() { * * @return int */ - protected function getConnectionID() { + protected function getConnectionId() { return (int) Database::getConnection($this->target, $this->key)->query('SELECT CONNECTION_ID()')->fetchField(); } @@ -92,7 +92,7 @@ protected function assertNoConnection($id) { /** * Tests Database::closeConnection() without query. * - * @todo getConnectionID() executes a query. + * @todo getConnectionId() executes a query. */ public function testOpenClose() { if ($this->skipTest) { @@ -100,7 +100,7 @@ public function testOpenClose() { } // Add and open a new connection. $this->addConnection(); - $id = $this->getConnectionID(); + $id = $this->getConnectionId(); Database::getConnection($this->target, $this->key); // Verify that there is a new connection. @@ -124,7 +124,7 @@ public function testOpenQueryClose() { } // Add and open a new connection. $this->addConnection(); - $id = $this->getConnectionID(); + $id = $this->getConnectionId(); Database::getConnection($this->target, $this->key); // Verify that there is a new connection. @@ -151,7 +151,7 @@ public function testOpenQueryPrefetchClose() { } // Add and open a new connection. $this->addConnection(); - $id = $this->getConnectionID(); + $id = $this->getConnectionId(); Database::getConnection($this->target, $this->key); // Verify that there is a new connection. @@ -178,7 +178,7 @@ public function testOpenSelectQueryClose() { } // Add and open a new connection. $this->addConnection(); - $id = $this->getConnectionID(); + $id = $this->getConnectionId(); Database::getConnection($this->target, $this->key); // Verify that there is a new connection.