mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 13:26:08 +00:00
Create service notification message and roleId service
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import { TestBed } from '@angular/core/testing';
|
||||
|
||||
import { NotificationMessageService } from './notification-message.service';
|
||||
|
||||
describe('NotificationMessageService', () => {
|
||||
let service: NotificationMessageService;
|
||||
|
||||
beforeEach(() => {
|
||||
TestBed.configureTestingModule({});
|
||||
service = TestBed.inject(NotificationMessageService);
|
||||
});
|
||||
|
||||
it('should be created', () => {
|
||||
expect(service).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,13 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root'
|
||||
})
|
||||
export class NotificationMessageService {
|
||||
|
||||
constructor() { }
|
||||
|
||||
|
||||
noInternetConnection = 'Sem acesso à internet. Por favor verifique sua conexão'
|
||||
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
import { TestBed } from '@angular/core/testing';
|
||||
|
||||
import { RoleIdService } from './role-id.service';
|
||||
|
||||
describe('RoleIdService', () => {
|
||||
let service: RoleIdService;
|
||||
|
||||
beforeEach(() => {
|
||||
TestBed.configureTestingModule({});
|
||||
service = TestBed.inject(RoleIdService);
|
||||
});
|
||||
|
||||
it('should be created', () => {
|
||||
expect(service).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,23 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root'
|
||||
})
|
||||
export class RoleIdService {
|
||||
|
||||
constructor() { }
|
||||
|
||||
/**
|
||||
* @description President role id
|
||||
*/
|
||||
PV: number = 100000011
|
||||
/**
|
||||
* @description Vice president role id
|
||||
*/
|
||||
PRES: number = 100000014
|
||||
/**
|
||||
* @description Consultant role id
|
||||
*/
|
||||
Consultant: number = 99999872
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user