Skip to content

Commit 724d933

Browse files
committed
chore: remove unecessary test
This already was covered at another place Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent 3dd5e26 commit 724d933

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

tests/JSignPDFTest.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -208,19 +208,6 @@ public function testJSignPDFNotFound()
208208
$this->service->getVersion($params);
209209
}
210210

211-
public function testSignWhenJavaNotFound()
212-
{
213-
$javaVersion = exec("java -version 2>&1");
214-
$hasJavaVersion = strpos($javaVersion, 'not found') === false;
215-
if ($hasJavaVersion) {
216-
$this->markTestSkipped('Java is already installed, impossible to test if it is not installed');
217-
}
218-
$this->expectExceptionMessage('Java not installed, set the flag "isUseJavaInstalled" as false or install java.');
219-
$params = JSignParamBuilder::instance()->withDefault()->setIsUseJavaInstalled(true);
220-
$params->setCertificate($this->getNewCert($params->getPassword()));
221-
$this->service->sign($params);
222-
}
223-
224211
public function testGetVersion()
225212
{
226213
global $mockExec;

0 commit comments

Comments
 (0)