File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments