mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
correctly throw assert error (#43)
This commit is contained in:
@@ -494,7 +494,7 @@ public class CmisAssertion extends DSLAssertion<CmisWrapper>
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Assert.assertFalse(false, String.format("Object %s does not have property %s", cmisObject.getName(), propertyId));
|
throw new AssertionError(String.format("Object %s does not have property %s", cmisObject.getName(), propertyId));
|
||||||
}
|
}
|
||||||
return cmisAPI();
|
return cmisAPI();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user