Test bug solved
This commit is contained in:
parent
bf04c73b42
commit
8970abe903
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue