summaryrefslogtreecommitdiff
path: root/tests/test.php
blob: c37fa824c49955324fa0528d234d7ec638572696 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/env php
<?php

if ($_SERVER['argc'] != 4) {
  die(
'Usage:
  test.php <valid-user> <valid-domain> <valid-pass>
');
}

$valid_account = [
  'user' => $_SERVER['argv'][1],
  'domain' => $_SERVER['argv'][2],
  'password' => $_SERVER['argv'][3],
];

require_once __DIR__ . '/unit_test.php';

(new UnitTest($valid_account))->run();