Skip to content

Commit 1aab0e9

Browse files
committed
run newer phpunit version
1 parent a5615bf commit 1aab0e9

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"require-dev": {
2121
"illuminate/queue": "^5.1|^5.2|^5.3",
2222
"mockery/mockery": "^0.9.9",
23-
"phpunit/phpunit": "4.*"
23+
"phpunit/phpunit": "^5.7"
2424
},
2525
"autoload": {
2626
"psr-4": {

tests/PagerDutyChannelTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@
55
use Mockery;
66
use GuzzleHttp\Client;
77
use GuzzleHttp\Psr7\Response;
8+
use PHPUnit\Framework\TestCase;
89
use Illuminate\Notifications\Notification;
910
use NotificationChannels\PagerDuty\PagerDutyChannel;
1011
use NotificationChannels\PagerDuty\PagerDutyMessage;
1112
use NotificationChannels\PagerDuty\Exceptions\ApiError;
1213
use NotificationChannels\PagerDuty\Exceptions\CouldNotSendNotification;
1314

14-
class ChannelTest extends \PHPUnit_Framework_TestCase
15+
class ChannelTest extends TestCase
1516
{
1617
public function tearDown()
1718
{

tests/PagerDutyMessageTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22

33
namespace NotificationChannels\PagerDuty\Test;
44

5+
use PHPUnit\Framework\TestCase;
56
use NotificationChannels\PagerDuty\PagerDutyMessage;
67

7-
class PagerDutyMessageTest extends \PHPUnit_Framework_TestCase
8+
class PagerDutyMessageTest extends TestCase
89
{
910
/** @test */
1011
public function basic_message_has_all_values()

0 commit comments

Comments
 (0)