| Total Complexity | 2 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class v0AuthenticatorTest extends TestCase |
||
| 16 | { |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Holds an authenticator class |
||
| 20 | * |
||
| 21 | * @var v0Authenticator |
||
| 22 | */ |
||
| 23 | private $authenticator; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Create a new authenticator |
||
| 27 | */ |
||
| 28 | public function setUp() |
||
| 29 | { |
||
| 30 | $this->authenticator = new v0Authenticator(); |
||
| 31 | $this->authenticator->setParameters([ |
||
| 32 | 'email' => $_ENV['EMAIL'], |
||
| 33 | 'password' => $_ENV['PASSWORD'], |
||
| 34 | 'appID' => $_ENV['APPID'], |
||
| 35 | 'appPassword' => $_ENV['EMAIL'], |
||
| 36 | ]); |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Tests the validateParameters method of the v0 authenticator |
||
| 41 | */ |
||
| 42 | public function testValidatesAuthParameters() |
||
| 51 | } |
||
| 52 | |||
| 53 | } |