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

Refactor TestDeleteTribe To Use A Real Postgres DB For The Test #1769

Merged
merged 2 commits into from
Jun 26, 2024

Conversation

aliraza556
Copy link
Contributor

@aliraza556 aliraza556 commented Jun 26, 2024

Describe your changes

image

Issue ticket number and link

Closes: #1767

Checklist before requesting a review

  • Bug fix (non-breaking change which fixes an issue)
  • I have performed a self-review of my code
  • I have tested on Chrome and Firefox
  • I have provided a screenshot or recording of changes in my PR if there were updates to the frontend

@aliraza556
Copy link
Contributor Author

Hi @elraphty Please review this PR.

@@ -216,7 +237,7 @@ func TestDeleteTribe(t *testing.T) {
t.Fatal(err)
}
chiCtx := chi.NewRouteContext()
chiCtx.URLParams.Add("uuid", "mockUUID")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aliraza556 you did not assert that the tribe is deleted from the DB using the db.TestDB.GetTribe() function

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@elraphty Fixed

@elraphty elraphty merged commit 7324bba into stakwork:master Jun 26, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor TestDeleteTribe To Use A Real Postgres DB For The Test
2 participants