Skip to content
This repository was archived by the owner on Mar 23, 2024. It is now read-only.

Commit 0933c90

Browse files
committed
✨ function test
1 parent 107d9ee commit 0933c90

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

tests/FunctionTest.php

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<?php
2+
/**
3+
* Class FunctionTest
4+
*
5+
* @filesource FunctionTest.php
6+
* @created 02.08.2019
7+
* @package chillerlan\OAuthTest\Providers
8+
* @author smiley <smiley@chillerlan.net>
9+
* @copyright 2019 smiley
10+
* @license MIT
11+
*/
12+
13+
namespace chillerlan\OAuthTest\Providers;
14+
15+
use chillerlan\OAuth\Core\OAuthInterface;
16+
use chillerlan\OAuth\Providers;
17+
18+
use PHPUnit\Framework\TestCase;
19+
20+
class FunctionTest extends TestCase{
21+
22+
public function testGetProviders(){
23+
$providers = Providers\getProviders();
24+
25+
foreach($providers as $p){
26+
$this->assertTrue((new \ReflectionClass($p['fqcn']))->implementsInterface(OAuthInterface::class));
27+
}
28+
29+
}
30+
31+
}

0 commit comments

Comments
 (0)