fix: frontTest
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
216108a576
commit
0637050375
|
@ -76,9 +76,10 @@ describe('Ticket', () => {
|
||||||
it('should make a query and then call to the $state go() method', () => {
|
it('should make a query and then call to the $state go() method', () => {
|
||||||
jest.spyOn(controller.$state, 'go').mockReturnThis();
|
jest.spyOn(controller.$state, 'go').mockReturnThis();
|
||||||
|
|
||||||
|
const landed = new Date();
|
||||||
const ticket = {
|
const ticket = {
|
||||||
clientFk: 1101,
|
clientFk: 1101,
|
||||||
landed: new Date(),
|
landed: landed,
|
||||||
addressFk: 121,
|
addressFk: 121,
|
||||||
agencyModeFk: 1,
|
agencyModeFk: 1,
|
||||||
warehouseFk: 1
|
warehouseFk: 1
|
||||||
|
@ -90,7 +91,7 @@ describe('Ticket', () => {
|
||||||
|
|
||||||
const expectedParams = {
|
const expectedParams = {
|
||||||
clientId: 1101,
|
clientId: 1101,
|
||||||
landed: new Date(),
|
landed: landed,
|
||||||
warehouseId: 1,
|
warehouseId: 1,
|
||||||
addressId: 121,
|
addressId: 121,
|
||||||
agencyModeId: 1,
|
agencyModeId: 1,
|
||||||
|
|
Loading…
Reference in New Issue