File tree 7 files changed +22
-22
lines changed
7 files changed +22
-22
lines changed Original file line number Diff line number Diff line change 2
2
3
3
namespace NotificationChannels \Pushover ;
4
4
5
- use Illuminate \Contracts \Events \Dispatcher ;
6
5
use Illuminate \Notifications \Notification ;
6
+ use Illuminate \Contracts \Events \Dispatcher ;
7
7
use Illuminate \Notifications \Events \NotificationFailed ;
8
8
use NotificationChannels \Pushover \Exceptions \ServiceCommunicationError ;
9
9
Original file line number Diff line number Diff line change 2
2
3
3
namespace NotificationChannels \Pushover \Test ;
4
4
5
- use Illuminate \Contracts \Events \Dispatcher ;
6
- use NotificationChannels \Pushover \PushoverMessage ;
7
- use Illuminate \Notifications \Notification ;
8
5
use Mockery ;
9
- use NotificationChannels \Pushover \PushoverChannel ;
10
- use NotificationChannels \Pushover \Pushover ;
11
- use GuzzleHttp \Client as HttpClient ;
12
6
use Orchestra \Testbench \TestCase ;
7
+ use GuzzleHttp \Client as HttpClient ;
8
+ use Illuminate \Notifications \Notification ;
9
+ use Illuminate \Contracts \Events \Dispatcher ;
10
+ use NotificationChannels \Pushover \Pushover ;
11
+ use NotificationChannels \Pushover \PushoverChannel ;
12
+ use NotificationChannels \Pushover \PushoverMessage ;
13
13
14
14
class IntegrationTest extends TestCase
15
15
{
Original file line number Diff line number Diff line change 2
2
3
3
namespace NotificationChannels \Pushover \Test ;
4
4
5
+ use Mockery ;
5
6
use Exception ;
6
- use Illuminate \Contracts \Events \Dispatcher ;
7
- use Illuminate \Notifications \Events \NotificationFailed ;
7
+ use Orchestra \Testbench \TestCase ;
8
8
use Illuminate \Notifications \Notification ;
9
- use Mockery ;
10
- use NotificationChannels \Pushover \Exceptions \ ServiceCommunicationError ;
9
+ use Illuminate \ Contracts \ Events \ Dispatcher ;
10
+ use NotificationChannels \Pushover \Pushover ;
11
11
use NotificationChannels \Pushover \PushoverChannel ;
12
12
use NotificationChannels \Pushover \PushoverMessage ;
13
- use NotificationChannels \ Pushover \ Pushover ;
14
- use Orchestra \ Testbench \ TestCase ;
13
+ use Illuminate \ Notifications \ Events \ NotificationFailed ;
14
+ use NotificationChannels \ Pushover \ Exceptions \ ServiceCommunicationError ;
15
15
16
16
class PushoverChannelTest extends TestCase
17
17
{
Original file line number Diff line number Diff line change 3
3
namespace NotificationChannels \Pushover \Test ;
4
4
5
5
use Carbon \Carbon ;
6
- use NotificationChannels \Pushover \Exceptions \EmergencyNotificationRequiresRetryAndExpire ;
7
- use NotificationChannels \Pushover \PushoverMessage ;
8
6
use Orchestra \Testbench \TestCase ;
7
+ use NotificationChannels \Pushover \PushoverMessage ;
8
+ use NotificationChannels \Pushover \Exceptions \EmergencyNotificationRequiresRetryAndExpire ;
9
9
10
10
class PushoverMessageTest extends TestCase
11
11
{
Original file line number Diff line number Diff line change 2
2
3
3
namespace NotificationChannels \Pushover \Test ;
4
4
5
- use NotificationChannels \Pushover \PushoverReceiver ;
6
5
use Orchestra \Testbench \TestCase ;
6
+ use NotificationChannels \Pushover \PushoverReceiver ;
7
7
8
8
class PushoverReceiverTest extends TestCase
9
9
{
Original file line number Diff line number Diff line change 2
2
3
3
namespace NotificationChannels \Pushover \Test ;
4
4
5
- use Illuminate \Contracts \Foundation \Application ;
6
5
use Mockery ;
6
+ use Orchestra \Testbench \TestCase ;
7
7
use NotificationChannels \Pushover \Pushover ;
8
+ use Illuminate \Contracts \Foundation \Application ;
8
9
use NotificationChannels \Pushover \PushoverChannel ;
9
10
use NotificationChannels \Pushover \PushoverServiceProvider ;
10
- use Orchestra \Testbench \TestCase ;
11
11
12
12
class PushoverServiceProviderTest extends TestCase
13
13
{
Original file line number Diff line number Diff line change 2
2
3
3
namespace NotificationChannels \Pushover \Test ;
4
4
5
+ use Mockery ;
5
6
use Exception ;
7
+ use Orchestra \Testbench \TestCase ;
8
+ use GuzzleHttp \Client as HttpClient ;
6
9
use GuzzleHttp \Exception \RequestException ;
7
- use Mockery ;
10
+ use NotificationChannels \ Pushover \ Pushover ;
8
11
use NotificationChannels \Pushover \Exceptions \CouldNotSendNotification ;
9
12
use NotificationChannels \Pushover \Exceptions \ServiceCommunicationError ;
10
- use NotificationChannels \Pushover \Pushover ;
11
- use GuzzleHttp \Client as HttpClient ;
12
- use Orchestra \Testbench \TestCase ;
13
13
14
14
class PushoverTest extends TestCase
15
15
{
You can’t perform that action at this time.
0 commit comments