Skip to content

Commit 0619773

Browse files
committed
update test
1 parent 9fea3ab commit 0619773

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

test/functional/LoginShellSetTest.php

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -38,21 +38,7 @@ private function isShellValid(string $shell)
3838
}
3939

4040
#[DataProvider("getShells")]
41-
public function testSetLoginShellCustom(string $shell): void
42-
{
43-
global $USER;
44-
if (!$this->isShellValid($shell)) {
45-
$this->expectException(Exception::class);
46-
}
47-
post(
48-
__DIR__ . "/../../webroot/panel/account.php",
49-
["form_type" => "loginshell", "shellSelect" => "Custom", "shell" => $shell]
50-
);
51-
$this->assertEquals($shell, $USER->getLoginShell());
52-
}
53-
54-
#[DataProvider("getShells")]
55-
public function testSetLoginShellSelect(string $shell): void
41+
public function testSetLoginShell(string $shell): void
5642
{
5743
global $USER;
5844
if (!$this->isShellValid($shell)) {

0 commit comments

Comments
 (0)