diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2019-04-24 11:01:37 +0200 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2019-04-25 18:17:19 +0200 |
commit | 79c92da8c14de61dccc015f04c3900aac4bd4179 (patch) | |
tree | 7b4e0f51d2bd2508905fdc697b31a73810a1b5d5 /tests/Unit/Database/DbTest.php | |
parent | 7c3a0c70e8d23f47287ead148c6b8682216352c6 (diff) |
Formatting
```bash
php-cs-fixer fix --allow-risky=yes --rules=@PSR2,psr4,mb_str_functions.php_unit_construct,php_unit_ordered_covers,trailing_comma_in_multiline_array --rules='{"array_syntax": {"syntax":"short"}}' [tests/|src/]
```
Diffstat (limited to 'tests/Unit/Database/DbTest.php')
-rw-r--r-- | tests/Unit/Database/DbTest.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/Unit/Database/DbTest.php b/tests/Unit/Database/DbTest.php index a408f78f..09930c4f 100644 --- a/tests/Unit/Database/DbTest.php +++ b/tests/Unit/Database/DbTest.php @@ -12,8 +12,8 @@ use PHPUnit\Framework\TestCase; class DbTest extends TestCase { /** - * @covers \Engelsystem\Database\Db::setDbManager() * @covers \Engelsystem\Database\Db::connection() + * @covers \Engelsystem\Database\Db::setDbManager() */ public function testSetDbManager() { @@ -132,7 +132,8 @@ class DbTest extends TestCase id INT PRIMARY KEY NOT NULL, data TEXT NOT NULL ); - '); + ' + ); Db::connection()->statement('CREATE UNIQUE INDEX test_data_id_uindex ON test_data (id);'); Db::insert(" INSERT INTO test_data (id, data) |