test: replaced greater with notempty

This commit is contained in:
Felipe Martin Garcia 2022-08-07 12:06:11 +02:00
parent a92b314d5c
commit c71c9b0517
Signed by: fmartingr
GPG Key ID: 716BC147715E716F
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ func TestCasaDelLibro_Ok(t *testing.T) {
return
}
assert.Greater(t, 100, len(product.Description))
assert.NotEmpty(t, product.Description)
assert.Equal(t, "LA DEPENDIENTA", product.Name)
assert.Equal(t, "https://imagessl0.casadellibro.com/a/l/t5/20/9788416634620.jpg", product.ImageURL)
assert.Equal(t, 15.96, product.Price)