Skip to content

Commit

Permalink
#2770-created test project
Browse files Browse the repository at this point in the history
  • Loading branch information
caiodasilva2005 committed Sep 20, 2024
1 parent f6932c8 commit 78d505a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/backend/tests/test-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -419,11 +419,12 @@ export const createTestDesignReview = async () => {
export const createTestTask = async (user: User, organization?: Organization) => {
if (!organization) organization = await createTestOrganization();
const orgId = organization.organizationId;
const project = await createTestProject(user, organization.organizationId);

Check warning on line 422 in src/backend/tests/test-utils.ts

View workflow job for this annotation

GitHub Actions / run-linting-check

'project' is assigned a value but never used
const task = await TasksService.createTask(
user,
{
carNumber: 0,
projectNumber: 7,
projectNumber: 0,
workPackageNumber: 0
},
'Test task',
Expand Down

0 comments on commit 78d505a

Please sign in to comment.