refactor sintaxis
This commit is contained in:
parent
d1408b812a
commit
36108038df
|
@ -29,7 +29,7 @@ describe('Component VnClientWebAccess', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
describe('isCustomer()', () => {
|
describe('isCustomer()', () => {
|
||||||
it('should return a true if the password can be modified', () => {
|
it('should return true if the password can be modified', () => {
|
||||||
controller.client = {id: '1234'};
|
controller.client = {id: '1234'};
|
||||||
|
|
||||||
$httpBackend.expectGET(`Clients/${controller.client.id}/hasCustomerRole`).respond({isCustomer: true});
|
$httpBackend.expectGET(`Clients/${controller.client.id}/hasCustomerRole`).respond({isCustomer: true});
|
||||||
|
|
Loading…
Reference in New Issue