◆ clientIdProvider()
ClientIdTest::clientIdProvider |
( |
| ) |
|
- Returns
- array[]
Definition at line 27 of file ClientIdTest.php.
28 {
29 return [
30 ['default'],
31 ['default_with_underscore'],
32 ['ilias_with_12345'],
33 ];
34 }
◆ invalidClientIdProvider()
ClientIdTest::invalidClientIdProvider |
( |
| ) |
|
- Returns
- array[]
Definition at line 39 of file ClientIdTest.php.
40 {
41 return [
42 ['../../some/obscure/path'],
43 ];
44 }
◆ setUp()
Definition at line 19 of file ClientIdTest.php.
20 {
21 $this->f = new Data\Factory();
22 }
◆ tesInvalidArguments()
ClientIdTest::tesInvalidArguments |
( |
|
$value | ) |
|
- Parameters
-
string | $value | @dataProvider invalidClientIdProvider |
Definition at line 60 of file ClientIdTest.php.
61 {
62 try {
64 $this->fail('This should not happen');
65 } catch (\InvalidArgumentException $e) {
66 $this->assertTrue(true);
67 }
68 }
References League\OAuth2\Client\Provider\$clientId.
◆ testValidArguments()
ClientIdTest::testValidArguments |
( |
|
$value | ) |
|
◆ $f
The documentation for this class was generated from the following file: