mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fixed failing unit test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@101803 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -36,10 +36,10 @@ import org.junit.Test;
|
|||||||
*/
|
*/
|
||||||
public class ClassificationServiceDAOUnitTest
|
public class ClassificationServiceDAOUnitTest
|
||||||
{
|
{
|
||||||
private static final List<ClassificationLevel> DEFAULT_CLASSIFICATION_LEVELS = asLevelList("TopSecret", "TS",
|
private static final List<ClassificationLevel> DEFAULT_CLASSIFICATION_LEVELS = asLevelList("level1", "l1",
|
||||||
"Secret", "S",
|
"level2", "l2",
|
||||||
"Confidential", "C",
|
"level3", "l3",
|
||||||
"NoClearance", "NC");
|
"level4", "l4");
|
||||||
|
|
||||||
@Test public void getConfiguredLevels_readingDefaultConfigurationShouldWork()
|
@Test public void getConfiguredLevels_readingDefaultConfigurationShouldWork()
|
||||||
{
|
{
|
||||||
@@ -78,7 +78,7 @@ public class ClassificationServiceDAOUnitTest
|
|||||||
c.setReasonConfigLocation("/no/such/resource");
|
c.setReasonConfigLocation("/no/such/resource");
|
||||||
assertTrue(c.getConfiguredReasons().isEmpty());
|
assertTrue(c.getConfiguredReasons().isEmpty());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test (expected = MalformedConfiguration.class)
|
@Test (expected = MalformedConfiguration.class)
|
||||||
public void getConfiguredReasons_readingMalformedConfigurationShouldFail()
|
public void getConfiguredReasons_readingMalformedConfigurationShouldFail()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user