Skip to content
Snippets Groups Projects
Commit ad5cd7a4 authored by buczekp's avatar buczekp
Browse files

[LMS-2117] temporary workaround to fix tests

SVN: 21162
parent af6a77f3
No related branches found
No related tags found
No related merge requests found
......@@ -175,6 +175,7 @@ public class GeneralInformationServiceTest extends SystemTestCase
{
// Search for Samples with only parent's code limiting the results
SearchCriteria sc = new SearchCriteria();
sc.addMatchClause(MatchClause.createAttributeMatch(MatchClauseAttribute.CODE, "*"));
SearchCriteria pc = new SearchCriteria();
pc.addMatchClause(MatchClause.createAttributeMatch(MatchClauseAttribute.CODE, "MP002-1"));
sc.addSubCriteria(SearchSubCriteria.createSampleParentCriteria(pc));
......@@ -187,6 +188,7 @@ public class GeneralInformationServiceTest extends SystemTestCase
{
// Search for Samples with only child's code limiting the results
SearchCriteria sc = new SearchCriteria();
sc.addMatchClause(MatchClause.createAttributeMatch(MatchClauseAttribute.CODE, "*"));
SearchCriteria cc = new SearchCriteria();
cc.addMatchClause(MatchClause.createAttributeMatch(MatchClauseAttribute.CODE, "3VCP*"));
sc.addSubCriteria(SearchSubCriteria.createSampleChildCriteria(cc));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment