Skip to content

Commit

Permalink
fix: logger tests (#13) v.0.2.3
Browse files Browse the repository at this point in the history
* feat: add requests stats

* fix: requests test

* chore: update version

* fix: request tests

* v0.2.3
  • Loading branch information
omarciovsena committed Dec 27, 2018
1 parent 303aca9 commit 5201fe6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/functional/requests.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ test('list all requests', async ({ client }) => {
test('count all requests', async ({ client, assert }) => {
const response = await client.get('api/requests/count/month').end()
response.assertStatus(200)
assert.equal(response.body.length, 7)
assert.equal(response.body[0].count, 2)
})
2 changes: 1 addition & 1 deletion test/functional/search.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ test('not found chapter', async ({ client }) => {
})
})

test('is "No princípio Deus criou os céus e a terra."', async ({ client }) => {
test('is sl 117:1', async ({ client }) => {
const response = await client.get('/api/verses/nvi/sl/117/1').end()
response.assertStatus(200)
response.assertJSONSubset({
Expand Down

0 comments on commit 5201fe6

Please sign in to comment.