summaryrefslogtreecommitdiff
path: root/tests/Unit/Database/DatabaseTest.php
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2019-04-24 11:01:37 +0200
committermsquare <msquare@notrademark.de>2019-04-25 18:17:19 +0200
commit79c92da8c14de61dccc015f04c3900aac4bd4179 (patch)
tree7b4e0f51d2bd2508905fdc697b31a73810a1b5d5 /tests/Unit/Database/DatabaseTest.php
parent7c3a0c70e8d23f47287ead148c6b8682216352c6 (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/DatabaseTest.php')
-rw-r--r--tests/Unit/Database/DatabaseTest.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/Unit/Database/DatabaseTest.php b/tests/Unit/Database/DatabaseTest.php
index 7aef51c3..c1f1a717 100644
--- a/tests/Unit/Database/DatabaseTest.php
+++ b/tests/Unit/Database/DatabaseTest.php
@@ -16,8 +16,8 @@ class DatabaseTest extends TestCase
/**
* @covers \Engelsystem\Database\Database::__construct()
- * @covers \Engelsystem\Database\Database::getPdo()
* @covers \Engelsystem\Database\Database::getConnection()
+ * @covers \Engelsystem\Database\Database::getPdo()
*/
public function testInit()
{
@@ -129,7 +129,8 @@ class DatabaseTest extends TestCase
id INT PRIMARY KEY NOT NULL,
data TEXT NOT NULL
);
- ');
+ '
+ );
$connection->statement('CREATE UNIQUE INDEX test_data_id_uindex ON test_data (id);');
$connection->insert("
INSERT INTO test_data (id, data)