Test bug solved

This commit is contained in:
Juan 2018-04-03 18:33:00 +02:00
parent bf04c73b42
commit 8970abe903
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ const app = require('../../../../../client/server/server');
describe('Client card', () => {
it('should call the card() method to receive a formated card of Bruce Wayne', async() => {
let id = 101;
let result = await app.models.Client.card(id, callback);
let result = await app.models.Client.card(id);
expect(result).toEqual(jasmine.objectContaining({
id: 101,