Skip to content

Commit 310237d

Browse files
committed
[CST-6035] updated test description and used example.com domain in test urls
1 parent e9894c9 commit 310237d

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

src/app/submission/import-external/submission-import-external.component.spec.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ describe('SubmissionImportExternalComponent test suite', () => {
184184
});
185185
});
186186

187-
describe('handle BE response for search query', () => {
187+
describe('handle backend response for search query', () => {
188188
const paginatedData: any = {
189189
'timeCompleted': 1657009282990,
190190
'msToLive': 900000,
@@ -203,20 +203,20 @@ describe('SubmissionImportExternalComponent test suite', () => {
203203
},
204204
'_links': {
205205
'first': {
206-
'href': 'https://dspacecris7.4science.cloud/server/api/integration/externalsources/scopus/entries?query=test&page=0&size=10&sort=id,asc'
206+
'href': 'https://example.com/server/api/integration/externalsources/scopus/entries?query=test&page=0&size=10&sort=id,asc'
207207
},
208208
'self': {
209-
'href': 'https://dspacecris7.4science.cloud/server/api/integration/externalsources/scopus/entries?sort=id,ASC&page=0&size=10&query=test'
209+
'href': 'https://example.com/server/api/integration/externalsources/scopus/entries?sort=id,ASC&page=0&size=10&query=test'
210210
},
211211
'next': {
212-
'href': 'https://dspacecris7.4science.cloud/server/api/integration/externalsources/scopus/entries?query=test&page=1&size=10&sort=id,asc'
212+
'href': 'https://example.com/server/api/integration/externalsources/scopus/entries?query=test&page=1&size=10&sort=id,asc'
213213
},
214214
'last': {
215-
'href': 'https://dspacecris7.4science.cloud/server/api/integration/externalsources/scopus/entries?query=test&page=1197160&size=10&sort=id,asc'
215+
'href': 'https://example.com/server/api/integration/externalsources/scopus/entries?query=test&page=1197160&size=10&sort=id,asc'
216216
},
217217
'page': [
218218
{
219-
'href': 'https://dspacecris7.4science.cloud/server/api/integration/externalsources/scopus/entryValues/2-s2.0-85130258665'
219+
'href': 'https://example.com/server/api/integration/externalsources/scopus/entryValues/2-s2.0-85130258665'
220220
}
221221
]
222222
},
@@ -411,7 +411,7 @@ describe('SubmissionImportExternalComponent test suite', () => {
411411
},
412412
'_links': {
413413
'self': {
414-
'href': 'https://dspacecris7.4science.cloud/server/api/integration/externalsources/scopus/entryValues/2-s2.0-85130258665'
414+
'href': 'https://example.com/server/api/integration/externalsources/scopus/entryValues/2-s2.0-85130258665'
415415
}
416416
}
417417
}
@@ -421,7 +421,7 @@ describe('SubmissionImportExternalComponent test suite', () => {
421421
};
422422
const errorObj = {
423423
errorMessage: 'Http failure response for ' +
424-
'https://dspacecris7.4science.cloud/server/api/integration/externalsources/pubmed/entries?sort=id,ASC&page=0&size=10&query=test: 500 OK',
424+
'https://example.com/server/api/integration/externalsources/pubmed/entries?sort=id,ASC&page=0&size=10&query=test: 500 OK',
425425
statusCode: 500,
426426
timeCompleted: 1656950434666,
427427
errors: [{

0 commit comments

Comments
 (0)