Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failures: product_repository::tests::test_insert #61

Open
friendbear opened this issue Sep 6, 2023 · 0 comments
Open

failures: product_repository::tests::test_insert #61

friendbear opened this issue Sep 6, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@friendbear
Copy link
Owner

[2023-09-06T05:54:26Z INFO  sqlx::query] summary="BEGIN" db.statement="" rows_affected=0 rows_returned=0 elapsed=1.263515ms
[2023-09-06T05:54:26Z INFO  sqlx::query] summary="INSERT INTO \"product\" (\"id\", …" db.statement="\n\nINSERT INTO\n  \"product\" (\"id\", \"name\", \"price\", \"category_id\")\nVALUES\n  ($1, $2, $3, $4) RETURNING \"id\",\n  \"name\",\n  \"price\",\n  \"category_id\"\n" rows_affected=0 rows_returned=0 elapsed=105.926771ms
Error: Query Error: error returned from database: duplicate key value violates unique constraint "product_pkey"

Caused by:
    error returned from database: duplicate key value violates unique constraint "product_pkey"
test product_repository::tests::test_insert ... FAILED

failures:

failures:
    product_repository::tests::test_insert
@friendbear friendbear added the bug Something isn't working label Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant