File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
Expand file tree Collapse file tree 2 files changed +10
-4
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 ;
5- class UnitySiteTest extends TestCase {
6- public static function ssh_key_provider ()
7+
8+ class UnitySiteTest extends TestCase
9+ {
10+ public static function SSHKeyProvider ()
711 {
812 return [
913 [false , "" ],
@@ -17,8 +21,9 @@ public static function ssh_key_provider()
1721 ];
1822 }
1923
20- #[DataProvider("ssh_key_provider " )]
21- public function testTestValidSSHKey (bool $ expected , string $ key ){
24+ #[DataProvider("SSHKeyProvider " )]
25+ public function testTestValidSSHKey (bool $ expected , string $ key )
26+ {
2227 $ SITE = new UnitySite ();
2328 $ this ->assertEquals ($ expected , $ SITE ->testValidSSHKey ($ key ));
2429 }
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