Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / tests / Drupal / KernelTests / Core / Database / ConnectionUnitTest.php
index f73f4155fb489ea67e75a7ca33d560707b84dc9f..a7424d2534c4d5f42623d9b6bed2f8444675241a 100644 (file)
@@ -63,7 +63,7 @@ class ConnectionUnitTest extends KernelTestBase {
    *
    * @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 @@ class ConnectionUnitTest extends KernelTestBase {
   /**
    * 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 @@ class ConnectionUnitTest extends KernelTestBase {
     }
     // 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 @@ class ConnectionUnitTest extends KernelTestBase {
     }
     // 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 @@ class ConnectionUnitTest extends KernelTestBase {
     }
     // 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 @@ class ConnectionUnitTest extends KernelTestBase {
     }
     // 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.