Skip to content

Commit dad2dfd

Browse files
committed
Fixed integration tests
1 parent 2c58b2c commit dad2dfd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/itest/groovy/com/hierynomus/sshj/sftp/FileWriteSpec.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import static org.codehaus.groovy.runtime.IOGroovyMethods.withCloseable
3232
class FileWriteSpec extends Specification {
3333
@Shared
3434
@ClassRule
35-
SshdContainer sshd
35+
SshdContainer sshd = new SshdContainer()
3636

3737
def "should append to file (GH issue #390)"() {
3838
given:

src/itest/groovy/com/hierynomus/sshj/signature/SignatureSpec.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import spock.lang.Unroll
2929
class SignatureSpec extends Specification {
3030
@Shared
3131
@Container
32-
static SshdContainer sshd
32+
static SshdContainer sshd = new SshdContainer()
3333

3434
@Unroll
3535
def "should correctly connect with #sig Signature"() {

0 commit comments

Comments
 (0)