@@ -147,9 +147,9 @@ describe('RestrictedAccessComponent', () => {
147147
148148 verify401StatusCodeAndNoRedirectToDownload ( ) ;
149149
150- it ( 'should set the restrictedAccessMessage indicating the file is embargoed forever' , waitForAsync ( ( ) => {
150+ it ( 'should set the restrictedAccessMessage indicating the file is embargoed forever' , ( ) => {
151151 expect ( component . restrictedAccessMessage . value ) . toBe ( 'bitstream.restricted-access.embargo.forever.message' ) ;
152- } ) ) ;
152+ } ) ;
153153 } ) ;
154154
155155 describe ( 'when there is an embargo end date' , ( ) => {
@@ -248,7 +248,7 @@ describe('RestrictedAccessComponent', () => {
248248 } ) ;
249249 } ) ;
250250
251- describe ( 'returns 403 Forbidden with a generic message when no filename is not provided' , ( ) => {
251+ describe ( 'returns 403 Forbidden with a generic message when a filename is not provided' , ( ) => {
252252 beforeEach ( waitForAsync ( ( ) => {
253253 init ( { metadata : { } } ) ;
254254 ( authService . isAuthenticated as jasmine . Spy ) . and . returnValue ( observableOf ( true ) ) ;
@@ -262,10 +262,10 @@ describe('RestrictedAccessComponent', () => {
262262 fixture . detectChanges ( ) ;
263263 } ) ;
264264
265- it ( 'should set the generic forbidden message' , waitForAsync ( ( ) => {
265+ it ( 'should set the generic forbidden message' , ( ) => {
266266 expect ( component . restrictedAccessMessage . value ) . toBe (
267267 'bitstream.restricted-access.user.forbidden.generic.message' ) ;
268- } ) ) ;
268+ } ) ;
269269 } ) ;
270270
271271 describe ( 'allows access to the file when the user is authorized' , ( ) => {
0 commit comments