File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 2626 },
2727 "require-dev" : {
2828 "mockery/mockery" : " ^1.0" ,
29- "orchestra/testbench" : " ^3.5 || ^4.0" ,
30- "phpunit/phpunit" : " ^6.0 || ^7.0 || ^8.0"
29+ "phpunit/phpunit" : " ^8.0"
3130 },
3231 "autoload" : {
3332 "psr-4" : {
Original file line number Diff line number Diff line change 33namespace NotificationChannels \Telegram \Test ;
44
55use Mockery ;
6- use Orchestra \ Testbench \TestCase ;
6+ use PHPUnit \ Framework \TestCase ;
77use Illuminate \Notifications \Notifiable ;
88use Illuminate \Notifications \Notification ;
99use NotificationChannels \Telegram \Telegram ;
@@ -29,6 +29,12 @@ public function setUp(): void
2929 $ this ->channel = new TelegramChannel ($ this ->telegram );
3030 }
3131
32+ public function tearDown (): void
33+ {
34+ Mockery::close ();
35+ parent ::tearDown ();
36+ }
37+
3238 /** @test */
3339 public function it_can_send_a_message (): void
3440 {
You can’t perform that action at this time.
0 commit comments