Project

General

Profile

Revision 0c853ce7

ID0c853ce7336c752959c88f38936cc4bf2da6fe91
Parent 87a2c7e2
Child 360e62dd

Added by Andreas Müller about 2 months ago

fix MobotOpenUrlServiceWrapperTest by adapting expected result

View differences:

cdmlib-ext/src/test/java/eu/etaxonomy/cdm/ext/openurl/MobotOpenUrlServiceWrapperTest.java
67 67
			OpenUrlReference reference = refList.get(0);
68 68
			logger.info(reference.toString());
69 69
			// title cache
70
			Assert.assertEquals("Manual of North American Diptera /", reference.getTitleCache());
70
			Assert.assertEquals("Manual of North American Diptera", reference.getTitleCache());
71 71
			// TODO Authorship missing see #6939
72 72
			// Assert.assertEquals("Williston, Samuel W. (Samuel Wendell),", reference.getAuthorship().getTitleCache());
73 73
			Assert.assertEquals("Page 16", reference.getPages());
......
82 82
			Assert.assertNotNull(refList);
83 83
			OpenUrlReference reference_plus1 = refList.get(0);
84 84
			logger.info(reference_plus1.toString());
85
			Assert.assertEquals("Manual of North American Diptera /", reference_plus1.getTitleCache());
85
			Assert.assertEquals("Manual of North American Diptera", reference_plus1.getTitleCache());
86 86
			Assert.assertEquals("Page 18", reference_plus1.getPages());
87 87
			Assert.assertTrue(reference.getItemUri().equals(reference_plus1.getItemUri()));
88 88
			Assert.assertTrue(! reference.getUri().equals(reference_plus1.getUri()));

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)