@@ -22,17 +22,17 @@ export const mockSRUResponse: SRUResponse = {
2222
2323export const mockedLibraryAccess : LibraryAccess = {
2424 isAlmaLibrary : false ,
25- isNcipLibrary : true ,
25+ ncip_server_url : 'ncip_server_url' ,
2626} ;
2727
2828export const mockedLibraryAccessNoNcip : LibraryAccess = {
2929 isAlmaLibrary : true ,
30- isNcipLibrary : false ,
30+ ncip_server_url : '' ,
3131} ;
3232
3333export const mockedLibraryAccessAlmaLibrary : LibraryAccess = {
3434 isAlmaLibrary : true ,
35- isNcipLibrary : true ,
35+ ncip_server_url : 'ncip_server_url' ,
3636} ;
3737
3838export const mockSRUResponseWithNoItems : SRUResponse = {
@@ -66,39 +66,34 @@ export const mockMetadata: MetaData = {
6666 available_for_loan : true ,
6767 institution_code : 'NB_DEP' ,
6868 mms_id : '9288276ff6656' ,
69- ncip_server_url : 'http://www.example.com' ,
7069 } ,
7170 {
7271 display_name : 'NINA Biblioteket' ,
7372 library_code : '43424324' ,
7473 available_for_loan : false ,
7574 institution_code : 'UIT' ,
7675 mms_id : '92882766626654' ,
77- ncip_server_url : 'https://www.example.com' ,
7876 } ,
7977 {
8078 display_name : 'NTNU Universitetsbiblioteket Gunnerusbiblioteket' ,
8179 library_code : '6456456' ,
8280 available_for_loan : true ,
8381 institution_code : 'UIT' ,
8482 mms_id : '92882766626651' ,
85- ncip_server_url : 'https://www.example.com' ,
8683 } ,
8784 {
8885 display_name : 'UiT Norges arktiske universitet Narvikbiblioteket' ,
8986 library_code : '12344568' ,
9087 available_for_loan : false ,
9188 institution_code : 'UIT' ,
9289 mms_id : '92882766626612' ,
93- ncip_server_url : 'https://www.example.com' ,
9490 } ,
9591 {
9692 display_name : 'Universitetsbiblioteket i Bergen Bibliotek for matematisk- naturvitenskapelige fag' ,
9793 library_code : '1234569' ,
9894 available_for_loan : true ,
9995 institution_code : 'UIB' ,
10096 mms_id : '92882766626623' ,
101- ncip_server_url : 'https://www.example.com' ,
10297 } ,
10398
10499 {
@@ -107,15 +102,13 @@ export const mockMetadata: MetaData = {
107102 available_for_loan : true ,
108103 institution_code : 'UIB' ,
109104 mms_id : '9288276662662233' ,
110- ncip_server_url : 'https://www.example.com' ,
111105 } ,
112106 {
113107 display_name : 'Nasjonalbiblioteket Pliktavlevering' ,
114108 library_code : '0183334' ,
115109 available_for_loan : true ,
116110 institution_code : 'UIB' ,
117111 mms_id : '92882766626623' ,
118- ncip_server_url : 'https://www.example.com' ,
119112 } ,
120113 ] ,
121114} ;
0 commit comments