ajout page denied

This commit is contained in:
Romain Verger 2022-03-09 16:05:21 +01:00
parent f7d6b0f691
commit 1c2eb7afa5
5 changed files with 46 additions and 1 deletions

View File

@ -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,

View File

@ -0,0 +1,3 @@
<div class="container">
<p>test</p>
</div>

View File

@ -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();
});
});

View File

@ -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 {
}
}