PLT-7515: Fix getAllJobsPage test. (#7329)
Этот коммит содержится в:
коммит произвёл
Harrison Healey
родитель
e85b5fb988
Коммит
77f0f2289c
@@ -133,22 +133,23 @@ func TestJobGetAllPage(t *testing.T) {
|
|||||||
Setup()
|
Setup()
|
||||||
|
|
||||||
jobType := model.NewId()
|
jobType := model.NewId()
|
||||||
|
createAtTime := model.GetMillis()
|
||||||
|
|
||||||
jobs := []*model.Job{
|
jobs := []*model.Job{
|
||||||
{
|
{
|
||||||
Id: model.NewId(),
|
Id: model.NewId(),
|
||||||
Type: jobType,
|
Type: jobType,
|
||||||
CreateAt: model.GetMillis() + 1,
|
CreateAt: createAtTime + 1,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Id: model.NewId(),
|
Id: model.NewId(),
|
||||||
Type: jobType,
|
Type: jobType,
|
||||||
CreateAt: model.GetMillis(),
|
CreateAt: createAtTime,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Id: model.NewId(),
|
Id: model.NewId(),
|
||||||
Type: jobType,
|
Type: jobType,
|
||||||
CreateAt: model.GetMillis() + 2,
|
CreateAt: createAtTime + 2,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user