Skip to content

Commit

Permalink
Add support for Laravel autodiscovery (#34)
Browse files Browse the repository at this point in the history
* Add support for Laravel autodiscovery

* Some StyleCI fixes
  • Loading branch information
dwightwatson authored and barryvdh committed Feb 8, 2018
1 parent 2a478e8 commit 0793592
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
7 changes: 6 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
},
"autoload-dev": {
"psr-4": {
"NotificationChannels\\Apn\\Test\\": "tests"
"NotificationChannels\\Apn\\Tests\\": "tests"
}
},
"scripts": {
Expand All @@ -42,6 +42,11 @@
"extra": {
"branch-alias": {
"dev-master": "0.2-dev"
},
"laravel": {
"providers": [
"NotificationChannels\\Apn\\ApnServiceProvider"
]
}
}
}
10 changes: 5 additions & 5 deletions tests/ApnChannelTest.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php

namespace NotificationChannels\Gcm\Test;
namespace NotificationChannels\Apn\Tests;

use Mockery;
use PHPUnit_Framework_TestCase;
use Illuminate\Events\Dispatcher;
use Illuminate\Notifications\Notifiable;
use NotificationChannels\Apn\ApnChannel;
use Illuminate\Notifications\Notification;
use NotificationChannels\Apn\ApnFeedback;
use NotificationChannels\Apn\ApnMessage;
use PHPUnit_Framework_TestCase;
use Mockery;
use NotificationChannels\Apn\ApnFeedback;
use Illuminate\Notifications\Notification;
use ZendService\Apple\Apns\Client\Message as Client;
use ZendService\Apple\Apns\Client\Feedback as FeedbackClient;
use ZendService\Apple\Apns\Response\Message as MessageResponse;
Expand Down

0 comments on commit 0793592

Please sign in to comment.