File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1414 "require" : {
1515 "php" : " >=7.0" ,
1616 "guzzlehttp/guzzle" : " ^6.3 || ^6.5 || ^7.0" ,
17- "illuminate/events" : " ~5.5 || ~6.0 || ~7.0 || ~8.0 || ~9.0 || ~10.0 || ^11.0" ,
18- "illuminate/notifications" : " ~5.5 || ~6.0 || ~7.0 || ~8.0 || ~9.0 || ~10.0 || ^11.0" ,
19- "illuminate/support" : " ~5.5 || ~6.0 || ~7.0 || ~8.0 || ~9.0 || ~10.0 || ^11.0"
17+ "illuminate/events" : " ~5.5 || ~6.0 || ~7.0 || ~8.0 || ~9.0 || ~10.0 || ^11.0 || ^12.0 " ,
18+ "illuminate/notifications" : " ~5.5 || ~6.0 || ~7.0 || ~8.0 || ~9.0 || ~10.0 || ^11.0 || ^12.0 " ,
19+ "illuminate/support" : " ~5.5 || ~6.0 || ~7.0 || ~8.0 || ~9.0 || ~10.0 || ^11.0 || ^12.0 "
2020 },
2121 "require-dev" : {
2222 "mockery/mockery" : " ^0.9.5 || ^1.6" ,
Original file line number Diff line number Diff line change 88use NotificationChannels \FortySixElks \FortySixElksChannel ;
99use NotificationChannels \FortySixElks \FortySixElksSMS ;
1010
11- class FortySixElksChannelTest extends \PHPUnit_Framework_TestCase
11+ class FortySixElksChannelTest extends \PHPUnit \ Framework \TestCase
1212{
1313 protected $ dispatcher ;
1414
@@ -20,7 +20,7 @@ class FortySixElksChannelTest extends \PHPUnit_Framework_TestCase
2020
2121 protected $ smsMessage ;
2222
23- public function setUp ()
23+ public function setUp (): void
2424 {
2525 parent ::setUp ();
2626 $ this ->dispatcher = new \Illuminate \Events \Dispatcher ();
Original file line number Diff line number Diff line change 55use NotificationChannels \FortySixElks \FortySixElksMMS ;
66use NotificationChannels \FortySixElks \FortySixElksSMS ;
77
8- class FortySixElksMediaTest extends \PHPUnit_Framework_TestCase
8+ class FortySixElksMediaTest extends \PHPUnit \ Framework \TestCase
99{
1010 public function testSMSTest ()
1111 {
@@ -14,7 +14,7 @@ public function testSMSTest()
1414
1515 //test content
1616 $ this ->assertInstanceOf (FortySixElksSMS::class, $ class ->line ('test line ' ));
17- $ this ->assertContains ('test ' , $ class ->getContent ());
17+ $ this ->assertStringContainsString ('test ' , $ class ->getContent ());
1818 }
1919
2020 public function testMMSTest ()
@@ -25,6 +25,6 @@ public function testMMSTest()
2525
2626 //test content
2727 $ this ->assertInstanceOf (FortySixElksMMS::class, $ class ->line ('test line ' ));
28- $ this ->assertContains ('test ' , $ class ->getContent ());
28+ $ this ->assertStringContainsString ('test ' , $ class ->getContent ());
2929 }
3030}
You can’t perform that action at this time.
0 commit comments