Skip to content

Commit

Permalink
Update article creation status from 200 to 201 using http.StatusCreat…
Browse files Browse the repository at this point in the history
…ed in the unit testing
  • Loading branch information
Omar Massad committed Apr 5, 2019
1 parent 0658219 commit df0f5a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/article_test.go
Expand Up @@ -208,7 +208,7 @@ func TestCreateArticle(t *testing.T) {

articleID = res.ID

assert.Equal(t, resp.Code, 200)
assert.Equal(t, resp.Code, 201)
}

/**
Expand Down

0 comments on commit df0f5a7

Please sign in to comment.