File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/test/java/io/jenkins/plugins/conventionalcommits/utils Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 8
8
import static org .mockito .Mockito .when ;
9
9
10
10
import com .github .zafarkhaja .semver .Version ;
11
- import io .jenkins .plugins .conventionalcommits .process .DefaultProcessHelper ;
12
11
import io .jenkins .plugins .conventionalcommits .process .ProcessHelper ;
13
12
import java .io .File ;
14
13
import java .io .FileWriter ;
@@ -88,6 +87,6 @@ public void shouldThrowIOException() throws Exception {
88
87
new IOException ("Cannot run program \" npm\" " ));
89
88
NpmProjectType npmProjectType = new NpmProjectType ();
90
89
91
- npmProjectType .writeVersion (fooDir , Version .valueOf ("1.1.0" ), new DefaultProcessHelper () );
90
+ npmProjectType .writeVersion (fooDir , Version .valueOf ("1.1.0" ), mockProcessHelper );
92
91
}
93
92
}
You can’t perform that action at this time.
0 commit comments