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 11<?php
2+
23namespace UnityWebPortal \lib ;
4+
35use PHPUnit \Framework \TestCase ;
46use PHPUnit \Framework \Attributes \DataProvider ;
7+
58class UnitySiteTest extends TestCase {
6- public static function ssh_key_provider ()
9+ public static function SSHKeyProvider ()
710 {
811 return [
912 [false , "" ],
@@ -17,8 +20,9 @@ public static function ssh_key_provider()
1720 ];
1821 }
1922
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+ {
2226 $ SITE = new UnitySite ();
2327 $ this ->assertEquals ($ expected , $ SITE ->testValidSSHKey ($ key ));
2428 }
Original file line number Diff line number Diff line change 11<?php
2+
23require_once __DIR__ . "/../../vendor/autoload.php " ;
34
45require_once __DIR__ . "/../../resources/lib/UnityLDAP.php " ;
You can’t perform that action at this time.
0 commit comments