redo discord mocks
This commit is contained in:
parent
f4718f979a
commit
dfbb9e2bca
19 changed files with 223 additions and 105 deletions
|
@ -56,9 +56,8 @@ func TestPostHandlerSigFail(t *testing.T) {
|
|||
app := roleypoly.CreateFiberApp()
|
||||
i.Routes(app)
|
||||
|
||||
// TODO: make real interaction
|
||||
body, err := json.Marshal(map[string]string{
|
||||
"temp": "temp",
|
||||
body, err := json.Marshal(map[string]any{
|
||||
"type": 1,
|
||||
})
|
||||
if err != nil {
|
||||
t.Error(err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue