I've tweaked the tests a bit to handle daylight savings.

This commit is contained in:
roxana
2016-10-24 15:30:37 +03:00
parent 4abeb19938
commit cb3357080d
2 changed files with 14 additions and 9 deletions

View File

@@ -280,7 +280,7 @@ public class DispositionServiceImpl extends ServiceBaseImpl
{
DispositionSchedule originDispositionSchedule = getOriginDispositionSchedule(nodeRef);
// if the initial disposition schedule of the record is folder based
if (originDispositionSchedule!= null &&
if (originDispositionSchedule == null ||
isNotTrue(originDispositionSchedule.isRecordLevelDisposition()))
{
return null;