File tree Expand file tree Collapse file tree 7 files changed +17
-17
lines changed Expand file tree Collapse file tree 7 files changed +17
-17
lines changed Original file line number Diff line number Diff line change 22
33namespace NotificationChannels \Pushover ;
44
5- use Illuminate \Notifications \Notification ;
65use Illuminate \Contracts \Events \Dispatcher ;
76use Illuminate \Notifications \Events \NotificationFailed ;
7+ use Illuminate \Notifications \Notification ;
88use NotificationChannels \Pushover \Exceptions \ServiceCommunicationError ;
99
1010class PushoverChannel
Original file line number Diff line number Diff line change 22
33namespace NotificationChannels \Pushover \Test ;
44
5- use Mockery ;
6- use Orchestra \Testbench \TestCase ;
75use GuzzleHttp \Client as HttpClient ;
8- use Illuminate \Notifications \Notification ;
96use Illuminate \Contracts \Events \Dispatcher ;
7+ use Illuminate \Notifications \Notification ;
8+ use Mockery ;
109use NotificationChannels \Pushover \Pushover ;
1110use NotificationChannels \Pushover \PushoverChannel ;
1211use NotificationChannels \Pushover \PushoverMessage ;
12+ use Orchestra \Testbench \TestCase ;
1313
1414class IntegrationTest extends TestCase
1515{
Original file line number Diff line number Diff line change 22
33namespace NotificationChannels \Pushover \Test ;
44
5- use Mockery ;
65use Exception ;
7- use Orchestra \Testbench \TestCase ;
8- use Illuminate \Notifications \Notification ;
96use Illuminate \Contracts \Events \Dispatcher ;
7+ use Illuminate \Notifications \Events \NotificationFailed ;
8+ use Illuminate \Notifications \Notification ;
9+ use Mockery ;
10+ use NotificationChannels \Pushover \Exceptions \ServiceCommunicationError ;
1011use NotificationChannels \Pushover \Pushover ;
1112use NotificationChannels \Pushover \PushoverChannel ;
1213use NotificationChannels \Pushover \PushoverMessage ;
13- use Illuminate \Notifications \Events \NotificationFailed ;
14- use NotificationChannels \Pushover \Exceptions \ServiceCommunicationError ;
14+ use Orchestra \Testbench \TestCase ;
1515
1616class PushoverChannelTest extends TestCase
1717{
Original file line number Diff line number Diff line change 33namespace NotificationChannels \Pushover \Test ;
44
55use Carbon \Carbon ;
6- use Orchestra \Testbench \TestCase ;
7- use NotificationChannels \Pushover \PushoverMessage ;
86use NotificationChannels \Pushover \Exceptions \EmergencyNotificationRequiresRetryAndExpire ;
7+ use NotificationChannels \Pushover \PushoverMessage ;
8+ use Orchestra \Testbench \TestCase ;
99
1010class PushoverMessageTest extends TestCase
1111{
Original file line number Diff line number Diff line change 22
33namespace NotificationChannels \Pushover \Test ;
44
5- use Orchestra \Testbench \TestCase ;
65use DMS \PHPUnitExtensions \ArraySubset \Assert ;
76use NotificationChannels \Pushover \PushoverReceiver ;
7+ use Orchestra \Testbench \TestCase ;
88
99class PushoverReceiverTest extends TestCase
1010{
Original file line number Diff line number Diff line change 22
33namespace NotificationChannels \Pushover \Test ;
44
5+ use Illuminate \Contracts \Foundation \Application ;
56use Mockery ;
6- use Orchestra \Testbench \TestCase ;
77use NotificationChannels \Pushover \Pushover ;
8- use Illuminate \Contracts \Foundation \Application ;
98use NotificationChannels \Pushover \PushoverChannel ;
109use NotificationChannels \Pushover \PushoverServiceProvider ;
10+ use Orchestra \Testbench \TestCase ;
1111
1212class PushoverServiceProviderTest extends TestCase
1313{
Original file line number Diff line number Diff line change 22
33namespace NotificationChannels \Pushover \Test ;
44
5- use Mockery ;
65use Exception ;
7- use Orchestra \Testbench \TestCase ;
86use GuzzleHttp \Client as HttpClient ;
97use GuzzleHttp \Exception \RequestException ;
10- use NotificationChannels \ Pushover \ Pushover ;
8+ use Mockery ;
119use NotificationChannels \Pushover \Exceptions \CouldNotSendNotification ;
1210use NotificationChannels \Pushover \Exceptions \ServiceCommunicationError ;
11+ use NotificationChannels \Pushover \Pushover ;
12+ use Orchestra \Testbench \TestCase ;
1313
1414class PushoverTest extends TestCase
1515{
You can’t perform that action at this time.
0 commit comments