Project

General

Profile

Revision 9afb8fd6

ID9afb8fd651945c187fcb087739c9270e06d1a0ab
Parent c2cdd7ea
Child 86c1185a

Added by Andreas Müller about 1 year ago

ref #7859 removed test for CdmPreference.value size

View differences:

cdmlib-model/src/test/java/eu/etaxonomy/cdm/model/metadata/CdmPreferenceTest.java
95 95
			Assert.fail("Currently null values are allowed in preferences");
96 96

  
97 97
		}
98
		try {
99
			prefs = new CdmPreference(subject, predicate, veryLongText1200);
100
			Assert.fail("Value must not be longer then 1023");
101
		} catch (Exception e) {
102
			//ok
103
		}
98
		//commented as we allow >65k length now
99
//		try {
100
//			prefs = new CdmPreference(subject, predicate, veryLongText1200);
101
//			Assert.fail("Value must not be longer then 1023");
102
//		} catch (Exception e) {
103
//			//ok
104
//		}
104 105
	}
105 106

  
106 107
    @Test

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)