Completed
Push — develop ( 193a7a...d74385 )
by Oyebanji Jacob
05:17 queued 02:56
created
test/DatabaseConnectionTest.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 use \Mockery as m;
4
-use org\bovigo\vfs\vfsStream;
5 4
 use Pyjac\ORM\DatabaseConnection;
6 5
 
7 6
 class DatabaseConnectionTest extends PHPUnit_Framework_TestCase
Please login to merge, or discard this patch.
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -16,11 +16,11 @@  discard block
 block discarded – undo
16 16
      */
17 17
     protected $databaseConnectionStringFactory;
18 18
 
19
-     /**
20
-     * root directory
21
-     *
22
-     * @type  vfsStreamDirectory
23
-     */
19
+        /**
20
+         * root directory
21
+         *
22
+         * @type  vfsStreamDirectory
23
+         */
24 24
     protected $root;
25 25
 
26 26
     public function setUp()
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
         $this->databaseConnectionStringFactory =
29 29
                         m::mock('Pyjac\ORM\DatabaseConnectionStringFactoryInterface');
30 30
         $this->databaseConnectionStringFactory->shouldReceive('createDatabaseSourceString')
31
-                                             ->with(['DRIVER' => 'sqlite', 'HOSTNAME' => '127.0.0.1', 'USERNAME' => '', 'PASSWORD' => '', 'DBNAME' => 'potatoORM', 'PORT' => '54320'])->once()->andReturn('sqlite::memory:');
31
+                                                ->with(['DRIVER' => 'sqlite', 'HOSTNAME' => '127.0.0.1', 'USERNAME' => '', 'PASSWORD' => '', 'DBNAME' => 'potatoORM', 'PORT' => '54320'])->once()->andReturn('sqlite::memory:');
32 32
 
33 33
         $this->databaseConnection = new DatabaseConnection($this->databaseConnectionStringFactory);
34 34
     }
Please login to merge, or discard this patch.