renamed spec files plus fixtures update for ticket basicdata #462 e2e
This commit is contained in:
parent
d2314b8a1b
commit
5aae572566
|
@ -1,6 +1,6 @@
|
|||
import './index.js';
|
||||
|
||||
fdescribe('Item', () => {
|
||||
describe('Item', () => {
|
||||
describe('Component vnItemDiary', () => {
|
||||
let $componentController;
|
||||
let $scope;
|
||||
|
|
|
@ -159,8 +159,8 @@ describe('Ticket', () => {
|
|||
});
|
||||
|
||||
describe('onStateChange()', () => {
|
||||
it('should perform a post and then call a function', () => {
|
||||
$httpBackend.expectPOST(`/ticket/api/TicketTrackings/changeState`).respond();
|
||||
it('should perform a POST', () => {
|
||||
$httpBackend.expectPOST(`/ticket/api/TicketTrackings`).respond();
|
||||
controller.card = {reload: () => {}};
|
||||
controller.onStateChange(3);
|
||||
$httpBackend.flush();
|
|
@ -712,17 +712,19 @@ INSERT INTO `vn`.`agencyProvince`(`provinceFk`, `agencyFk`, `zone`, `warehouseFk
|
|||
( 1, 1, 1, 2, 1),
|
||||
( 1, 1, 1, 3, 1),
|
||||
( 1, 2, 2, 2, 2),
|
||||
( 1, 2, 2, 3, 2);
|
||||
( 1, 2, 2, 3, 2),
|
||||
( 1, 7, 2, 1, 1),
|
||||
( 1, 8, 2, 1, 1);
|
||||
|
||||
INSERT INTO `vn`.`agencyModeZone`(`agencyModeFk`, `zone`, `price`, `itemFk`, `warehouseFk`, `minimCost`, `inflation`)
|
||||
VALUES
|
||||
( 1, 1, 10, 1, 1, 1, 1.00),
|
||||
( 1, 1, 20, 2, 1, 1, 1.00),
|
||||
( 2, 1, 10, 1, 1, 1, 1.00),
|
||||
( 2, 1, 20, 2, 1, 1, 2.00),
|
||||
( 2, 2, 10, 1, 1, 0, 2.00),
|
||||
( 7, 2, 10, 1, 1, 0, 2.00),
|
||||
( 8, 2, 10, 1, 1, 0, 2.00);
|
||||
( 1, 1, 10, 6, 1, 1, 1.00),
|
||||
( 1, 1, 20, 6, 1, 1, 1.00),
|
||||
( 2, 1, 10, 6, 1, 1, 1.00),
|
||||
( 2, 1, 20, 6, 1, 1, 2.00),
|
||||
( 2, 2, 10, 6, 1, 0, 2.00),
|
||||
( 7, 2, 50, 6, 1, 0, 1.00),
|
||||
( 8, 2, 100, 6, 1, 0, 2.00);
|
||||
|
||||
INSERT INTO `vn`.`agencyWeekDayBonus`(`id`, `warehouseFk`, `agencyFk`, `weekDay`, `zone`, `bonus`)
|
||||
VALUES
|
||||
|
|
Loading…
Reference in New Issue