From 79c92da8c14de61dccc015f04c3900aac4bd4179 Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Wed, 24 Apr 2019 11:01:37 +0200 Subject: 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/] ``` --- tests/Unit/Database/DbTest.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/Unit/Database/DbTest.php') 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) -- cgit v1.2.3-70-g09d2