@@ -245,7 +245,7 @@ describe('TimeEntriesComponent', () => {
245
245
description : 'description' ,
246
246
technologies : [ ] ,
247
247
uri : 'abc' ,
248
- } , shouldRestartEntry : true
248
+ } , shouldRestartEntry : false
249
249
} ;
250
250
component . entryId = 'entry_1' ;
251
251
spyOn ( injectedToastrService , 'error' ) ;
@@ -257,7 +257,6 @@ describe('TimeEntriesComponent', () => {
257
257
258
258
it ( 'displays an error when end date of entry is greater than active entry start date' , async ( ) => {
259
259
component . activeTimeEntry = entry ;
260
-
261
260
const newEntry = {
262
261
entry : {
263
262
project_id : 'p-id' ,
@@ -266,7 +265,7 @@ describe('TimeEntriesComponent', () => {
266
265
description : 'description' ,
267
266
technologies : [ ] ,
268
267
uri : 'abc' ,
269
- } , shouldRestartEntry : true
268
+ } , shouldRestartEntry : false
270
269
} ;
271
270
component . entryId = 'entry_1' ;
272
271
spyOn ( injectedToastrService , 'error' ) ;
@@ -363,7 +362,7 @@ describe('TimeEntriesComponent', () => {
363
362
technologies : [ ] ,
364
363
uri : 'abc' ,
365
364
366
- } , shouldRestartEntry : false
365
+ } , shouldRestartEntry : true
367
366
} ;
368
367
369
368
component . entryId = '123' ;
0 commit comments