File tree Expand file tree Collapse file tree 3 files changed +24
-4
lines changed Expand file tree Collapse file tree 3 files changed +24
-4
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " lucadegasperi/oauth2-server-laravel" ,
3
- "description" : " A Laravel 4 wrapper for the popular OAuth 2.0 league/oauth2-server" ,
3
+ "description" : " A Laravel 4 wrapper for the popular OAuth 2.0 Server package league/oauth2-server" ,
4
4
"keywords" : [
5
5
" laravel" ,
6
6
" oauth2" ,
22
22
"phpunit/phpunit" : " 3.7.22" ,
23
23
"mockery/mockery" : " >=0.7.2" ,
24
24
"league/phpunit-coverage-listener" : " ~1.0" ,
25
- "whatthejeff/nyancat-phpunit-resultprinter" : " ~1.1"
25
+ "whatthejeff/nyancat-phpunit-resultprinter" : " ~1.1" ,
26
+ "orchestra/testbench" : " 2.0.*"
26
27
},
27
28
"autoload" : {
28
29
"classmap" : [
29
- " src/migrations"
30
+ " src/migrations" ,
31
+ " tests/TestCase.php"
30
32
],
31
33
"psr-0" : {
32
34
"LucaDegasperi\\ OAuth2Server" : " src/"
Original file line number Diff line number Diff line change 2
2
3
3
use Mockery as m ;
4
4
5
- class OAuthFilterTest extends PHPUnit_Framework_TestCase {
5
+ class OAuthFilterTest extends TestCase {
6
6
7
7
public function test_filter_with_no_scope ()
8
8
{
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ class TestCase extends Orchestra \Testbench \TestCase {
4
+
5
+ protected function getPackageProviders ()
6
+ {
7
+ return array ('LucaDegasperi\OAuth2Server\OAuth2ServerServiceProvider ' );
8
+ }
9
+
10
+ protected function getPackageAliases ()
11
+ {
12
+ return array (
13
+ 'AuthorizationServer ' => 'LucaDegasperi\OAuth2Server\Facades\AuthorizationServerFacade ' ,
14
+ 'ResourceServer ' => 'LucaDegasperi\OAuth2Server\Facades\ResourceServerFacade ' ,
15
+ );
16
+ }
17
+
18
+ }
You can’t perform that action at this time.
0 commit comments