From 023aa6db715b0d504db3da6e064ade75c91a5bcc Mon Sep 17 00:00:00 2001 From: tpylak <tpylak> Date: Mon, 29 Aug 2011 09:18:27 +0000 Subject: [PATCH] LMS-2459 fix unit tests SVN: 22671 --- .../generic/server/business/bo/PropertyValidatorTest.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/server/business/bo/PropertyValidatorTest.java b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/server/business/bo/PropertyValidatorTest.java index 71b56cecb41..6a6f563d20b 100644 --- a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/server/business/bo/PropertyValidatorTest.java +++ b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/server/business/bo/PropertyValidatorTest.java @@ -299,8 +299,11 @@ public final class PropertyValidatorTest extends AbstractBOTest fail(String.format("'%s' expected.", UserFailureException.class.getSimpleName())); } catch (final UserFailureException ex) { - assertEquals("Material specification '" + value - + "' has improper format. Expected '<CODE> (<TYPE>)'.", ex.getMessage()); + assertEquals( + "Material specification '" + + value + + "' has improper format. Expected format is '<CODE> (<TYPE>)'. Type has to be specified because any type of material can be assigned.", + ex.getMessage()); } } -- GitLab