Closed kevkevinpal closed 10 months ago
can i attempt this? /attempt
Yes absolutely. This is yours.
Let me know if you didn't get the sphinx code I sent you.
Okay this bounty has also been assigned to you: https://community.sphinx.chat/bounty/931
Do you mind me asking how you heard about our project and bounties platform?
Okay this bounty has also been assigned to you: https://community.sphinx.chat/bounty/931
Do you mind me asking how you heard about our project and bounties platform?
Just heard from a friend so thought to try this out.
Awesome! We're glad to have you. :)
hi @ecurrencyhodler can you please assign the bounty to this profile if possible. Eric Wright 031a8f3eb9a601366074c829e94d10f291a91f2ea9d8a414c079c246d3dc351b4d:03a6ea2d9ead2120b12bd66292bb4a302c756983dc45dcb2b364b461c66fd53bcb:1099522637825
I lost my account and needed to create another.
Of course: https://people-test.sphinx.chat/bounty/931
So @anish-yadav are you also @wright-eric on github?
yeah @ecurrencyhodler yeah thought not to use my personal github account :)
Task:
1). create a new file in
/handlers/bounty_test.go
you can use/handlers/auth_test.go
as a template 2). create unit test for golang functionCreateOrEditBounty
https://github.com/stakwork/sphinx-tribes/blob/master/handlers/bounty.go#L121 3). you may need to edit/db/db_mock.go
to setup mock responses forCreateOrEditBounty
Acceptance Criteria:
golang code coverage is increased and
CreateOrEditBounty
handler now has coverage