Passed
Push — master ( 1f521e...ce6883 )
by Dimitrios
72:54 queued 70:10
created
tests/TestsBase.php 1 patch
Doc Comments   +10 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,11 +41,17 @@  discard block
 block discarded – undo
41 41
         $seeder->run();
42 42
     }
43 43
 
44
+    /**
45
+     * @param string $dbName
46
+     */
44 47
     private function makeSureDatabaseExists($dbName)
45 48
     {
46 49
         $this->runQuery('CREATE DATABASE IF NOT EXISTS '.$dbName);
47 50
     }
48 51
 
52
+    /**
53
+     * @param string $dbConnectionName
54
+     */
49 55
     private function makeSureSchemaIsCreated($dbConnectionName)
50 56
     {
51 57
         $migrationsPath = '../../../../tests/migrations';
@@ -58,6 +64,9 @@  discard block
 block discarded – undo
58 64
         ]);
59 65
     }
60 66
 
67
+    /**
68
+     * @param string $dbName
69
+     */
61 70
     private function truncateAllTablesButMigrations($dbName)
62 71
     {
63 72
         $db = $this->app->make('db');
@@ -73,7 +82,7 @@  discard block
 block discarded – undo
73 82
     }
74 83
 
75 84
     /**
76
-     * @param $query
85
+     * @param string $query
77 86
      * return void
78 87
      */
79 88
     private function runQuery($query)
Please login to merge, or discard this patch.