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 GetTribe, CreateOrEditTribe, & GetTribeByUniqueName #1533

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

GetTribe
CreateOrEditTribe
GetTribeByUniqueName

Add tests to tribes_test.go

Acceptance Criteria

References

Here is an example backend test

Fog3211 commented 8 months ago

@ecurrencyhodler can you assign this to me?

FaisalIqbal211 commented 8 months ago

@ecurrencyhodler assign me the issue?

ecurrencyhodler commented 8 months ago

@FaisalIqbal211 this is yours. Let's get a PR up in 2 days.