File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
+
2
3
namespace UnityWebPortal \lib ;
4
+
3
5
use PHPUnit \Framework \TestCase ;
4
6
use PHPUnit \Framework \Attributes \DataProvider ;
7
+
5
8
class UnitySiteTest extends TestCase {
6
- public static function ssh_key_provider ()
9
+ public static function SSHKeyProvider ()
7
10
{
8
11
return [
9
12
[false , "" ],
@@ -17,8 +20,9 @@ public static function ssh_key_provider()
17
20
];
18
21
}
19
22
20
- #[DataProvider("ssh_key_provider " )]
21
- public function testTestValidSSHKey (bool $ expected , string $ key ){
23
+ #[DataProvider("SSHKeyProvider " )]
24
+ public function testTestValidSSHKey (bool $ expected , string $ key )
25
+ {
22
26
$ SITE = new UnitySite ();
23
27
$ this ->assertEquals ($ expected , $ SITE ->testValidSSHKey ($ key ));
24
28
}
Original file line number Diff line number Diff line change 1
1
<?php
2
+
2
3
require_once __DIR__ . "/../../vendor/autoload.php " ;
3
4
4
5
require_once __DIR__ . "/../../resources/lib/UnityLDAP.php " ;
You can’t perform that action at this time.
0 commit comments