Completed
Push — dev/store-tests ( fd7aaa...348834 )
by Kiyotaka
05:41
created
codeception/acceptance/EA10OwnersStoreCest.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -133,11 +133,18 @@
 block discarded – undo
133 133
         $I->assertNull($Plugin);
134 134
     }
135 135
 
136
+    /**
137
+     * @param string $tableName
138
+     */
136 139
     private function tableExists($tableName)
137 140
     {
138 141
         return $this->conn->executeQuery("SELECT count(*) FROM information_schema.columns WHERE table_name = '${tableName}';")->fetch()['count'] > 0;
139 142
     }
140 143
 
144
+    /**
145
+     * @param string $tableName
146
+     * @param string $columnName
147
+     */
141 148
     private function columnExists($tableName, $columnName)
142 149
     {
143 150
         return $this->conn->executeQuery("SELECT count(*) FROM information_schema.columns WHERE table_name = '${tableName}' AND column_name = '${columnName}';")->fetch()['count'] == 1;
Please login to merge, or discard this patch.