diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-10-21 16:45:36 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-10-21 16:45:36 +0200 |
commit | 42d69a95f3276a2d6089ca68f635c4e2f6aa7a23 (patch) | |
tree | 6a17fd7998f291e6dec1d996c1e7c724b92b8e58 /tests/unit/db/MapperFactoryTest.php | |
parent | 0e6598b0734fb927109f745d9c0f3a8605a30ca5 (diff) |
convert tabs indention to indention with 4 spaces because of mixing of both variants in code and better readability on github and websites because you cant set the indention width there and 8 spaces will be used for a tab
Diffstat (limited to 'tests/unit/db/MapperFactoryTest.php')
-rw-r--r-- | tests/unit/db/MapperFactoryTest.php | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/tests/unit/db/MapperFactoryTest.php b/tests/unit/db/MapperFactoryTest.php index d96c9d857..3ebc0ce17 100644 --- a/tests/unit/db/MapperFactoryTest.php +++ b/tests/unit/db/MapperFactoryTest.php @@ -16,35 +16,35 @@ namespace OCA\News\Db; class MapperFactoryTest extends \PHPUnit_Framework_TestCase { - private $db; - private $settings; + private $db; + private $settings; - public function setUp() { - $this->db = $this->getMockBuilder('\OCP\IDb') - ->disableOriginalConstructor() - ->getMock(); - } + public function setUp() { + $this->db = $this->getMockBuilder('\OCP\IDb') + ->disableOriginalConstructor() + ->getMock(); + } - public function testGetItemMapperSqlite() { - $factory = new MapperFactory('sqlite', $this->db); + public function testGetItemMapperSqlite() { + $factory = new MapperFactory('sqlite', $this->db); - $this->assertTrue($factory->getItemMapper() instanceof ItemMapper); - } + $this->assertTrue($factory->getItemMapper() instanceof ItemMapper); + } - public function testGetItemMapperMysql() { - $factory = new MapperFactory('mysql', $this->db); + public function testGetItemMapperMysql() { + $factory = new MapperFactory('mysql', $this->db); - $this->assertTrue($factory->getItemMapper() instanceof ItemMapper); - } + $this->assertTrue($factory->getItemMapper() instanceof ItemMapper); + } - public function testGetItemMapperPostgres() { - $factory = new MapperFactory('pgsql', $this->db); + public function testGetItemMapperPostgres() { + $factory = new MapperFactory('pgsql', $this->db); - $this->assertTrue($factory->getItemMapper() instanceof \OCA\News\Db\Postgres\ItemMapper); - } + $this->assertTrue($factory->getItemMapper() instanceof \OCA\News\Db\Postgres\ItemMapper); + } }
\ No newline at end of file |