test fixed & export sample table
gitea/salix/1466-print_refactor There was a failure building this commit
Details
gitea/salix/1466-print_refactor There was a failure building this commit
Details
This commit is contained in:
parent
3d701f534a
commit
3cd92211a1
File diff suppressed because one or more lines are too long
|
@ -46,7 +46,8 @@ TABLES=(
|
|||
claimRedelivery
|
||||
claimResult
|
||||
ticketUpdateAction
|
||||
state
|
||||
state,
|
||||
sample
|
||||
)
|
||||
dump_tables ${TABLES[@]}
|
||||
|
||||
|
@ -56,7 +57,6 @@ TABLES=(
|
|||
businessReasonEnd
|
||||
container
|
||||
department
|
||||
escritos
|
||||
Grupos
|
||||
iva_group_codigo
|
||||
tarifa_componentes
|
||||
|
|
|
@ -40,9 +40,17 @@ describe('Client', () => {
|
|||
controller = $componentController('vnClientSampleCreate', {$scope, $state});
|
||||
}));
|
||||
|
||||
xdescribe('showPreview()', () => {
|
||||
describe('showPreview()', () => {
|
||||
it(`should perform a query (GET) and open a sample preview`, () => {
|
||||
spyOn(controller.$scope.showPreview, 'show');
|
||||
const element = document.createElement('div');
|
||||
document.body.querySelector = () => {
|
||||
return {
|
||||
querySelector: () => {
|
||||
return element;
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
controller.$scope.sampleType.selection = {
|
||||
hasCompany: false,
|
||||
|
@ -71,6 +79,14 @@ describe('Client', () => {
|
|||
|
||||
it(`should perform a query (GET) with companyFk param and open a sample preview`, () => {
|
||||
spyOn(controller.$scope.showPreview, 'show');
|
||||
const element = document.createElement('div');
|
||||
document.body.querySelector = () => {
|
||||
return {
|
||||
querySelector: () => {
|
||||
return element;
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
controller.$scope.sampleType.selection = {
|
||||
hasCompany: true,
|
||||
|
|
Loading…
Reference in New Issue