Skip to content

Commit e9fb391

Browse files
author
Luca Degasperi
committed
Moar tests
1 parent 99935c8 commit e9fb391

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?php
2+
3+
use \Mockery as m;
4+
use LucaDegasperi\OAuth2Server\Facades\ResourceServerFacade;
5+
6+
class AuthorizationServerFacadeTest extends TestCase {
7+
8+
public function test_name_is_correct()
9+
{
10+
$name = ResourceServerFacade::getFacadeAccessor();
11+
$this->assertEquals('oauth2.authorization-server', $name);
12+
}
13+
}

tests/ResourceServerFacadeTest.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?php
2+
3+
use \Mockery as m;
4+
use LucaDegasperi\OAuth2Server\Facades\ResourceServerFacade;
5+
6+
class ResourceServerFacadeTest extends TestCase {
7+
8+
public function test_name_is_correct()
9+
{
10+
$name = ResourceServerFacade::getFacadeAccessor();
11+
$this->assertEquals('oauth2.resource-server', $name);
12+
}
13+
}

0 commit comments

Comments
 (0)