upgrade to newest backend

This commit is contained in:
_Bastler
2021-07-22 18:45:04 +02:00
parent e6742f1cc5
commit 72178dd7c4
39 changed files with 382 additions and 705 deletions
@@ -1,25 +0,0 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { PermissionsComponent } from './permissions.component';
describe('PermissionsComponent', () => {
let component: PermissionComponent;
let fixture: ComponentFixture<PermissionComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [ PermissionsComponent ]
})
.compileComponents();
});
beforeEach(() => {
fixture = TestBed.createComponent(PermissionsComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
@@ -29,7 +29,7 @@ export class ProfileFieldPgpBlob implements OnInit {
}
ngOnInit(): void {
this.authService.getAuth().then((auth: any) => {
this.authService.auth.subscribe((auth: any) => {
if(!auth.authenticated) {
return;
}
@@ -1,25 +0,0 @@
import {ComponentFixture, TestBed} from '@angular/core/testing';
import {ProfileFieldsComponent} from './profilefields.component';
describe('ProfileFieldsComponent', () => {
let component: ProfileFieldsComponent;
let fixture: ComponentFixture<ProfileFieldsComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [ProfileFieldsComponent]
})
.compileComponents();
});
beforeEach(() => {
fixture = TestBed.createComponent(ProfileFieldsComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
@@ -1,25 +0,0 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { QuotasComponent } from './quotas.component';
describe('QuotasComponent', () => {
let component: QuotasComponent;
let fixture: ComponentFixture<QuotasComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [ QuotasComponent ]
})
.compileComponents();
});
beforeEach(() => {
fixture = TestBed.createComponent(QuotasComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});