Raesquiv13 / gpos-System

Sistema de punto de venta
1 stars 0 forks source link

Implement the userEmail in the product model #16

Closed Raesquiv13 closed 4 years ago

Raesquiv13 commented 4 years ago

As the product owner, I want to:

Add the userEmail as part of the attributes of the product model.

Raesquiv13 commented 4 years ago

Implement the userName will help you to have a reference about the owner of the product, it will be important to request for data about the owner.

Raesquiv13 commented 4 years ago

Product model updated

New model: { userEmail: { type: String, unique: true, lowercase: true }, name: String, picture: String, price: { type: Number, default: 0 }, category: { type: String, default: 'No hay categoria' }, description: String }

Raesquiv13 commented 4 years ago

QA tasks

Test case Creation https://gpossystem.testrail.io/index.php?/cases/view/19

Execution https://gpossystem.testrail.io/index.php?/tests/view/14&group_by=cases:section_id&group_order=asc&group_id=3