ajout page denied
This commit is contained in:
parent
f7d6b0f691
commit
1c2eb7afa5
@ -26,6 +26,7 @@ import { AuthInterceptor } from './services/auth.interceptor';
|
||||
import { FavorisUserComponent } from './pages/favoris-user/favoris-user.component';
|
||||
import { SignupComponent } from './pages/signup/signup.component';
|
||||
import { PageAccountComponent } from './pages/page-account/page-account.component';
|
||||
import { PageAccesDeniedComponent } from './pages/page-acces-denied/page-acces-denied.component';
|
||||
|
||||
@NgModule({
|
||||
declarations: [
|
||||
@ -50,7 +51,8 @@ import { PageAccountComponent } from './pages/page-account/page-account.componen
|
||||
HeaderLogoComponent,
|
||||
FavorisUserComponent,
|
||||
SignupComponent,
|
||||
PageAccountComponent
|
||||
PageAccountComponent,
|
||||
PageAccesDeniedComponent
|
||||
],
|
||||
imports: [
|
||||
BrowserModule,
|
||||
|
@ -0,0 +1,3 @@
|
||||
<div class="container">
|
||||
<p>test</p>
|
||||
</div>
|
@ -0,0 +1,25 @@
|
||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { PageAccesDeniedComponent } from './page-acces-denied.component';
|
||||
|
||||
describe('PageAccesDeniedComponent', () => {
|
||||
let component: PageAccesDeniedComponent;
|
||||
let fixture: ComponentFixture<PageAccesDeniedComponent>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
declarations: [ PageAccesDeniedComponent ]
|
||||
})
|
||||
.compileComponents();
|
||||
});
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(PageAccesDeniedComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
@ -0,0 +1,15 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-page-acces-denied',
|
||||
templateUrl: './page-acces-denied.component.html',
|
||||
styleUrls: ['./page-acces-denied.component.scss']
|
||||
})
|
||||
export class PageAccesDeniedComponent implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit(): void {
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user