People: Update test for updating markers of non-primary files #1710
This commit is contained in:
parent
8f9796637d
commit
0b36818704
|
@ -209,13 +209,13 @@ func TestClearMarkerSubject(t *testing.T) {
|
|||
|
||||
assert.Equal(t, http.StatusOK, resp.Code)
|
||||
})
|
||||
t.Run("bad request non- primary file", func(t *testing.T) {
|
||||
t.Run("non-primary file", func(t *testing.T) {
|
||||
app, router, _ := NewApiTest()
|
||||
|
||||
ClearMarkerSubject(router)
|
||||
|
||||
r := PerformRequestWithBody(app, "DELETE", "/api/v1/markers/mt9k3pw1wowu1000/subject", "")
|
||||
|
||||
assert.Equal(t, http.StatusBadRequest, r.Code)
|
||||
assert.Equal(t, http.StatusOK, r.Code)
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue