Skip to content

Commit

Permalink
fix: subcontracted activity role
Browse files Browse the repository at this point in the history
Fix subcontracted activities qry test
  • Loading branch information
luciaGarciaMiguelanez committed May 9, 2024
1 parent eb61559 commit e1f2eca
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ describe('GetSubcontractedActivitiesQry', () => {

const result = await getSubcontractedActivitiesQry.internalExecute(interval)

console.log(subcontractedActivities)

expect(result).toEqual(subcontractedActivities)
})
})
Expand All @@ -33,7 +35,7 @@ function setup() {
getUserLoggedQry.execute.mockResolvedValue(user)

const activitiesResponse = [
SubcontractedActivityMother.minutesBillableActivityWithProjectRoleId(),
SubcontractedActivityMother.minutesActivityWithProjectRoleIdA(),
SubcontractedActivityMother.minutesBillableActivityWithProjectRoleId()
]
subcontractedActivityRepository.getAll
Expand Down

0 comments on commit e1f2eca

Please sign in to comment.