diff --git a/composer.json b/composer.json index de99d66..44f055c 100644 --- a/composer.json +++ b/composer.json @@ -18,9 +18,9 @@ "squizlabs/php_codesniffer": "~2.2" }, "autoload": { - "psr-4": {"minphp\\Db\\": "src"} + "psr-4": {"Minphp\\Db\\": "src"} }, "autoload-dev": { - "psr-4": {"minphp\\Db\\Tests\\": "tests"} + "psr-4": {"Minphp\\Db\\Tests\\": "tests"} } } \ No newline at end of file diff --git a/tests/MockablePdo.php b/tests/MockablePdo.php index e37e811..973ec63 100644 --- a/tests/MockablePdo.php +++ b/tests/MockablePdo.php @@ -1,5 +1,5 @@ getMockBuilder('\minphp\Db\Tests\MockablePdo') + $mockConnection = $this->getMockBuilder('\Minphp\Db\Tests\MockablePdo') ->getMock(); $mockConnection->expects($this->once()) ->method('setAttribute') @@ -66,7 +66,7 @@ public function testSetAttribute() * @covers ::getConnection * @covers ::setConnection * @covers ::connect - * @uses \minphp\Db\PdoConnection::prepare + * @uses \Minphp\Db\PdoConnection::prepare */ public function testQuery() { @@ -79,7 +79,7 @@ public function testQuery() ->method('execute') ->with($this->equalTo($params)); - $mockConnection = $this->getMockBuilder('\minphp\Db\Tests\MockablePdo') + $mockConnection = $this->getMockBuilder('\Minphp\Db\Tests\MockablePdo') ->getMock(); $mockConnection->expects($this->once()) ->method('prepare') @@ -107,7 +107,7 @@ public function testPrepare() ->method('setFetchMode') ->with($this->anything()); - $mockConnection = $this->getMockBuilder('\minphp\Db\Tests\MockablePdo') + $mockConnection = $this->getMockBuilder('\Minphp\Db\Tests\MockablePdo') ->getMock(); $mockConnection->expects($this->once()) ->method('prepare') @@ -165,7 +165,7 @@ public function testCommit() */ private function mockConnection($method, $return) { - $mockConnection = $this->getMockBuilder('\minphp\Db\Tests\MockablePdo') + $mockConnection = $this->getMockBuilder('\Minphp\Db\Tests\MockablePdo') ->getMock(); $mockConnection->expects($this->once()) ->method($method) diff --git a/tests/Unit/SqliteConnectionTest.php b/tests/Unit/SqliteConnectionTest.php index ff57c49..8424787 100644 --- a/tests/Unit/SqliteConnectionTest.php +++ b/tests/Unit/SqliteConnectionTest.php @@ -1,17 +1,17 @@