@@ -102,7 +102,7 @@ describe('itemPageResolver', () => {
102102
103103 } ) ;
104104
105- describe ( 'when item has cris .customurl metadata' , ( ) => {
105+ describe ( 'when item has dspace .customurl metadata' , ( ) => {
106106
107107
108108 const customUrl = 'my-custom-item' ;
@@ -126,7 +126,7 @@ describe('itemPageResolver', () => {
126126 return true ;
127127 } ,
128128 metadata : {
129- 'cris .customurl' : customUrl ,
129+ 'dspace .customurl' : customUrl ,
130130 } ,
131131 } ) ;
132132 itemService = {
@@ -139,7 +139,7 @@ describe('itemPageResolver', () => {
139139 resolver = itemPageResolver ;
140140 } ) ;
141141
142- it ( 'should navigate to the new custom URL if cris .customurl is defined and different from route param' , ( done ) => {
142+ it ( 'should navigate to the new custom URL if dspace .customurl is defined and different from route param' , ( done ) => {
143143 spyOn ( router , 'navigateByUrl' ) . and . callThrough ( ) ;
144144
145145 const route = { params : { id : uuid } } as any ;
@@ -154,7 +154,7 @@ describe('itemPageResolver', () => {
154154 } ) ;
155155 } ) ;
156156
157- it ( 'should not navigate if cris .customurl matches the current route id' , ( done ) => {
157+ it ( 'should not navigate if dspace .customurl matches the current route id' , ( done ) => {
158158 spyOn ( router , 'navigateByUrl' ) . and . callThrough ( ) ;
159159
160160 const route = { params : { id : customUrl } } as any ;
0 commit comments