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/Models/User | |
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/Models/User')
-rw-r--r-- | tests/Unit/Models/User/Stub/HasUserModelImplementation.php | 1 | ||||
-rw-r--r-- | tests/Unit/Models/User/UserTest.php | 10 |
2 files changed, 5 insertions, 6 deletions
diff --git a/tests/Unit/Models/User/Stub/HasUserModelImplementation.php b/tests/Unit/Models/User/Stub/HasUserModelImplementation.php index 0456eb6a..6d442bdd 100644 --- a/tests/Unit/Models/User/Stub/HasUserModelImplementation.php +++ b/tests/Unit/Models/User/Stub/HasUserModelImplementation.php @@ -6,5 +6,4 @@ use Engelsystem\Models\User\HasUserModel; class HasUserModelImplementation extends HasUserModel { - } diff --git a/tests/Unit/Models/User/UserTest.php b/tests/Unit/Models/User/UserTest.php index 478c02dd..0e17d137 100644 --- a/tests/Unit/Models/User/UserTest.php +++ b/tests/Unit/Models/User/UserTest.php @@ -37,14 +37,14 @@ class UserTest extends TestCase 'dect' => '1234567', 'email' => 'foo@bar.batz', 'mobile' => '1234/12341234', - ] + ], ], [ PersonalData::class, 'personalData', [ - 'first_name' => 'Foo' - ] + 'first_name' => 'Foo', + ], ], [ Settings::class, @@ -52,14 +52,14 @@ class UserTest extends TestCase [ 'language' => 'de_DE', 'theme' => 4, - ] + ], ], [ State::class, 'state', [ 'force_active' => true, - ] + ], ], ]; } |