diff --git a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/systemtest/api/v1/GeneralInformationServiceTest.java b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/systemtest/api/v1/GeneralInformationServiceTest.java
index f63efd65e6798ff98a8ecbb0acb883bbc6f0a272..5bfdcc2556e52fb882df933c175756a1cfae1ae8 100644
--- a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/systemtest/api/v1/GeneralInformationServiceTest.java
+++ b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/systemtest/api/v1/GeneralInformationServiceTest.java
@@ -844,7 +844,7 @@ public class GeneralInformationServiceTest extends SystemTestCase
     {
         SearchCriteria searchCriteria = new SearchCriteria();
         searchCriteria.addMatchClause(MatchClause.createAttributeMatch(MatchClauseAttribute.CODE,
-                "MP002-1 "));
+                "MP002-1"));
 
         EnumSet<SampleFetchOption> fetchOptions =
                 EnumSet.of(SampleFetchOption.PROPERTIES, SampleFetchOption.DESCENDANTS);