Merge
This commit is contained in:
parent
f6050a6c65
commit
a4f6c64e59
|
@ -70,6 +70,9 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
color: $color-font;
|
color: $color-font;
|
||||||
|
|
||||||
|
&::placeholder {
|
||||||
|
color: $color-font-bg;
|
||||||
|
}
|
||||||
&[type=time],
|
&[type=time],
|
||||||
&[type=date],
|
&[type=date],
|
||||||
&[type=password] {
|
&[type=password] {
|
||||||
|
@ -207,6 +210,10 @@
|
||||||
}
|
}
|
||||||
& > .infix > .control > * {
|
& > .infix > .control > * {
|
||||||
color: $color-font-dark;
|
color: $color-font-dark;
|
||||||
|
|
||||||
|
&::placeholder {
|
||||||
|
color: $color-font-bg-dark;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
& > .prepend,
|
& > .prepend,
|
||||||
& > .append,
|
& > .append,
|
||||||
|
@ -220,6 +227,10 @@
|
||||||
& > .container {
|
& > .container {
|
||||||
& > .infix > .control > * {
|
& > .infix > .control > * {
|
||||||
color: $color-font;
|
color: $color-font;
|
||||||
|
|
||||||
|
&::placeholder {
|
||||||
|
color: $color-font-bg;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
& > .prepend,
|
& > .prepend,
|
||||||
& > .append,
|
& > .append,
|
||||||
|
|
|
@ -39,7 +39,7 @@ describe('Service acl', () => {
|
||||||
expect(hasAny).toBeTruthy();
|
expect(hasAny).toBeTruthy();
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should return true when user has not any of the passed roles', () => {
|
it('should return false when user has not any of the passed roles', () => {
|
||||||
let hasAny = aclService.hasAny(['inventedRole', 'nonExistent']);
|
let hasAny = aclService.hasAny(['inventedRole', 'nonExistent']);
|
||||||
|
|
||||||
expect(hasAny).toBeFalsy();
|
expect(hasAny).toBeFalsy();
|
||||||
|
|
|
@ -19,17 +19,12 @@ describe('Ticket component vnTicketService', () => {
|
||||||
|
|
||||||
describe('getDefaultTaxClass', () => {
|
describe('getDefaultTaxClass', () => {
|
||||||
it('should set the default tax class in the controller', () => {
|
it('should set the default tax class in the controller', () => {
|
||||||
const config = {
|
$httpBackend.whenRoute('GET', `TaxClasses/findOne`)
|
||||||
filter: {
|
.respond({
|
||||||
where: {
|
id: 4000,
|
||||||
code: 'G'
|
name: 'Whatever',
|
||||||
}
|
code: 'GG'
|
||||||
}
|
});
|
||||||
};
|
|
||||||
let serializedParams = $httpParamSerializer(config);
|
|
||||||
|
|
||||||
$httpBackend.when('GET', `TaxClasses/findOne?${serializedParams}`).respond({id: 4000, name: 'Whatever', code: 'GG'});
|
|
||||||
$httpBackend.expect('GET', `TaxClasses/findOne?${serializedParams}`);
|
|
||||||
controller.getDefaultTaxClass();
|
controller.getDefaultTaxClass();
|
||||||
$httpBackend.flush();
|
$httpBackend.flush();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue