add clear error in test when disk quota is reached (#3978)

This commit is contained in:
Eugenio Romano
2018-11-16 16:33:46 +00:00
committed by GitHub
parent 3da80bf366
commit 7d47ede2a5
2 changed files with 20 additions and 1 deletions

View File

@@ -45,6 +45,13 @@ export class AppComponent implements OnInit {
this.router.navigate(['/login']);
}
}
if (error.status === 507) {
if (!this.authenticationService.isLoggedIn()) {
this.dialogRef.closeAll();
this.router.navigate(['error/507']);
}
}
});
}
}