File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -46,9 +46,10 @@ public List<TestSuiteDto> get(TestSuiteDto template) throws AqualityException {
46
46
return get (template , false );
47
47
}
48
48
49
- public TestSuiteDto get (String name ) throws AqualityException {
49
+ public TestSuiteDto get (String name , Integer projectId ) throws AqualityException {
50
50
TestSuiteDto template = new TestSuiteDto ();
51
51
template .setName (name );
52
+ template .setProject_id (projectId );
52
53
try {
53
54
return get (template , false ).get (0 );
54
55
} catch (Exception e ) {
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ private Integer getTestRunId() throws AqualityException {
117
117
}
118
118
119
119
if (addToLastTestRun ) {
120
- return testRunController .getLastSuiteTestRun (suiteController .get (suiteName ).getId ()).getId ();
120
+ return testRunController .getLastSuiteTestRun (suiteController .get (suiteName , projectId ).getId ()).getId ();
121
121
}
122
122
123
123
return null ;
You can’t perform that action at this time.
0 commit comments