stakwork / sphinx-tribes

Backend for sphinx tribes and bounties. The bounty platform pays out in bitcoin. Sign up with Sphinx Chat, complete a bounty, and earn bitcoin! Go to our website for available bounties.
https://community.sphinx.chat/bounties
33 stars 60 forks source link

Backend [Integration Test] tribes.go handlers DeleteTribe, GetFirstTribeByFeed, & SetTribePreview #1534

Closed elraphty closed 8 months ago

elraphty commented 8 months ago

Context

We are trying to increase the test coverage for our Golang backend.

File to to test

handlers/tribes.go

Design

Write tests for the tribe's handlers, the test should:

Tribes Handlers To Test

DeleteTribe
GetFirstTribeByFeed
SetTribePreview

Add tests to tribes_test.go

Acceptance Criteria

References

Here is an example backend test

AbdulWahab3181 commented 8 months ago

@ecurrencyhodler could you please assign me this task?