Bug #1551: Added FIXME notes to two tests that are causing trouble.

I have identified a problem but I haven't the knowledge to fix it now.

FEA: ItEr77S04BugFixing
This commit is contained in:
Jacobo Aragunde Pérez 2012-10-23 13:19:30 +02:00
parent 2cc39d9dba
commit b0ab592785

View file

@ -119,6 +119,10 @@ public class BaseCalendarServiceTest {
@Test
@Rollback(false)
// FIXME: This exception type is kept in DB and it may cause problems in
// other tests, for example in
// CalendarExceptionTypeTest.exportExceptionTypes(), depending on the
// execution order. We must ensure that
public void givenCalendarExceptionTypeStored() {
CalendarExceptionType calendarExceptionType = CalendarExceptionType
.create("name", CalendarExceptionTypeColor.DEFAULT, false);
@ -163,6 +167,10 @@ public class BaseCalendarServiceTest {
}
@Test
// FIXME: when this test finishes, the two new calendar exceptions are not
// being removed. This is a problem to delete the calendar exception type
// and causes conflicts in other tests, for example in
// CalendarExceptionTypeTest.exportExceptionTypes()
public void testAddValidBaseCalendar() throws InstanceNotFoundException {
/* Build valid base calendar "bc1" (5 constraint violations). */