Skip to content

Commit 2fc1e46

Browse files
committed
fix style
1 parent 9678c60 commit 2fc1e46

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

test/unit/UnitySiteTest.php

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
<?php
2+
23
namespace UnityWebPortal\lib;
4+
35
use PHPUnit\Framework\TestCase;
46
use PHPUnit\Framework\Attributes\DataProvider;
7+
58
class 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
}

test/unit/bootstrap.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
require_once __DIR__ . "/../../vendor/autoload.php";
34

45
require_once __DIR__ . "/../../resources/lib/UnityLDAP.php";

0 commit comments

Comments
 (0)