diff --git a/.badges/coverage.svg b/.badges/coverage.svg index b7e5b4d..54570f9 100644 --- a/.badges/coverage.svg +++ b/.badges/coverage.svg @@ -1,6 +1,6 @@ - - Coverage: 76% + + Coverage: 75% @@ -10,8 +10,8 @@ Coverage - - 76% + + 75% \ No newline at end of file diff --git a/.badges/file-count.svg b/.badges/file-count.svg index 7b0eb48..cf81b6f 100644 --- a/.badges/file-count.svg +++ b/.badges/file-count.svg @@ -1,6 +1,6 @@ - - Files: 66 + + Files: 64 @@ -10,8 +10,8 @@ Files - - 66 + + 64 \ No newline at end of file diff --git a/.badges/lines-of-code.svg b/.badges/lines-of-code.svg index 0bf99b3..12b0f06 100644 --- a/.badges/lines-of-code.svg +++ b/.badges/lines-of-code.svg @@ -1,6 +1,6 @@ - - Lines of Code: 6.4K + + Lines of Code: 6.6K @@ -10,8 +10,8 @@ Lines of Code - - 6.4K + + 6.6K \ No newline at end of file diff --git a/test/server.test.js b/test/server.test.js index 05cc032..bc7a886 100644 --- a/test/server.test.js +++ b/test/server.test.js @@ -629,40 +629,30 @@ describe('Server', () => { .expect('Content-Type', /json/) .expect([ { + id: VALID_AUTH.user_id, name: VALID_AUTH.name, - event_id: 1, - business_id: businessId, - user_id: VALID_AUTH.user_id, - timestamp: '0', - status: 'teststatus', role: 'owner', email: VALID_AUTH.email, custom_data: '{}', }, { + id: 'testuid', name: 'testname', - event_id: 1, - business_id: businessId, - user_id: 'testuid', - timestamp: '0', - status: 'teststatus', role: 'user', email: 'testemail', custom_data: '{}', }, { - name: VALID_AUTH.name, - id: VALID_AUTH.user_id, - role: 'owner', - email: VALID_AUTH.email, - custom_data: '{}', + id: 'testuid', + event_id: 1, + status: 'teststatus', + timestamp: '0', }, { - name: 'testname', - id: 'testuid', - role: 'user', - email: 'testemail', - custom_data: '{}', + id: VALID_AUTH.user_id, + event_id: 1, + status: 'teststatus', + timestamp: '0', }, ]); });