diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2019-12-30 01:44:09 +0100 |
---|---|---|
committer | Igor Scheller <igor.scheller@igorshp.de> | 2019-12-30 01:53:20 +0100 |
commit | 395f6706d6fe7b59df5caa4158d5e8ff268368ef (patch) | |
tree | d4ba52d3abe0eadc606b5db6bb075067d2e42884 /tests/Unit/Models | |
parent | a78659b2d49e1f5da65d8e924530da2c52f92a58 (diff) |
Message: Add coverage, fix method hints
Diffstat (limited to 'tests/Unit/Models')
-rw-r--r-- | tests/Unit/Models/MessageTest.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/Unit/Models/MessageTest.php b/tests/Unit/Models/MessageTest.php index 11af9a83..7fb3e028 100644 --- a/tests/Unit/Models/MessageTest.php +++ b/tests/Unit/Models/MessageTest.php @@ -76,6 +76,8 @@ class MessageTest extends TestCase /** * Tests that loading Messages works. * + * @covers \Engelsystem\Models\Message::__construct + * * @return void */ public function testLoad(): void @@ -96,6 +98,8 @@ class MessageTest extends TestCase /** * Tests that the Messages have the correct senders. * + * @covers \Engelsystem\Models\Message::user + * * @return void */ public function testSenders(): void @@ -108,6 +112,8 @@ class MessageTest extends TestCase /** * Tests that the Messages have the correct receivers. * + * @covers \Engelsystem\Models\Message::receiver + * * @return void */ public function testReceivers(): void @@ -120,6 +126,8 @@ class MessageTest extends TestCase /** * Tests that the Users have the correct sent Messages. * + * @covers \Engelsystem\Models\User\User::messagesSent + * * @return void */ public function testUserSentMessages(): void @@ -137,6 +145,8 @@ class MessageTest extends TestCase /** * Tests that the Users have the correct received Messages. * + * @covers \Engelsystem\Models\User\User::messagesReceived + * * @return void */ public function testUserReceivedMessages(): void @@ -153,6 +163,8 @@ class MessageTest extends TestCase /** * Tests that the user have the correct Messages. + * + * @covers \Engelsystem\Models\User\User::messages */ public function testUserMessages(): void { |