Skip to content

Commit 86dc4ac

Browse files
committed
test: fixed covers
1 parent d7e828b commit 86dc4ac

File tree

5 files changed

+7
-18
lines changed

5 files changed

+7
-18
lines changed

tests/PushbulletMessageTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
use PHPUnit\Framework\MockObject\MockObject;
88
use PHPUnit\Framework\TestCase;
99

10+
/**
11+
* @covers \NotificationChannels\Pushbullet\PushbulletMessage
12+
*/
1013
class PushbulletMessageTest extends TestCase
1114
{
1215
/** @test */

tests/Targets/ChannelTest.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,12 @@
88
use PHPUnit\Framework\TestCase;
99

1010
/**
11-
* @coversDefaultClass \NotificationChannels\Pushbullet\Targets\Channel
11+
* @covers \NotificationChannels\Pushbullet\Targets\Channel
1212
*/
1313
class ChannelTest extends TestCase
1414
{
1515
/**
1616
* @test
17-
*
18-
* @covers ::__construct
19-
* @covers ::getTarget
2017
*/
2118
public function it_is_properly_represented_as_array()
2219
{

tests/Targets/DeviceTest.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,12 @@
88
use PHPUnit\Framework\TestCase;
99

1010
/**
11-
* @coversDefaultClass \NotificationChannels\Pushbullet\Targets\Device
11+
* @covers \NotificationChannels\Pushbullet\Targets\Device
1212
*/
1313
class DeviceTest extends TestCase
1414
{
1515
/**
1616
* @test
17-
*
18-
* @covers ::__construct
19-
* @covers ::getTarget
2017
*/
2118
public function it_is_properly_represented_as_array()
2219
{

tests/Targets/EmailTest.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,12 @@
99
use PHPUnit\Framework\TestCase;
1010

1111
/**
12-
* @coversDefaultClass \NotificationChannels\Pushbullet\Targets\Email
12+
* @covers \NotificationChannels\Pushbullet\Targets\Email
1313
*/
1414
class EmailTest extends TestCase
1515
{
1616
/**
1717
* @test
18-
*
19-
* @covers ::__construct
20-
* @covers ::getTarget
2118
*/
2219
public function it_is_properly_represented_as_array()
2320
{
@@ -28,8 +25,6 @@ public function it_is_properly_represented_as_array()
2825

2926
/**
3027
* @test
31-
*
32-
* @covers ::__construct
3328
*/
3429
public function invalid_email_is_not_accepted()
3530
{

tests/Targets/UserDevicesTest.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,12 @@
88
use PHPUnit\Framework\TestCase;
99

1010
/**
11-
* @coversDefaultClass \NotificationChannels\Pushbullet\Targets\UserDevices
11+
* @covers \NotificationChannels\Pushbullet\Targets\UserDevices
1212
*/
1313
class UserDevicesTest extends TestCase
1414
{
1515
/**
1616
* @test
17-
*
18-
* @covers ::__construct
19-
* @covers ::getTarget
2017
*/
2118
public function it_is_properly_represented_as_array()
2219
{

0 commit comments

Comments
 (0)