Skip to content

Commit a0ed7eb

Browse files
committed
Remove orchestra testbench.
1 parent 16d67d2 commit a0ed7eb

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@
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": {

tests/TelegramChannelTest.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace NotificationChannels\Telegram\Test;
44

55
use Mockery;
6-
use Orchestra\Testbench\TestCase;
6+
use PHPUnit\Framework\TestCase;
77
use Illuminate\Notifications\Notifiable;
88
use Illuminate\Notifications\Notification;
99
use 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
{

0 commit comments

Comments
 (0)