|
Lines 333-339
describe("kohaTable (using REST API)", () => {
Link Here
|
| 333 |
|
333 |
|
| 334 |
cy.window().then(win => { |
334 |
cy.window().then(win => { |
| 335 |
win.categories_map = patrons.reduce((map, p) => { |
335 |
win.categories_map = patrons.reduce((map, p) => { |
| 336 |
map[p.category_id] = p.category_id; |
336 |
map[p.category_id.toLowerCase()] = p.category_id; |
| 337 |
return map; |
337 |
return map; |
| 338 |
}, {}); |
338 |
}, {}); |
| 339 |
}); |
339 |
}); |
|
Lines 399-405
describe("kohaTable (using REST API)", () => {
Link Here
|
| 399 |
|
399 |
|
| 400 |
cy.window().then(win => { |
400 |
cy.window().then(win => { |
| 401 |
win.categories_map = patrons.reduce((map, p) => { |
401 |
win.categories_map = patrons.reduce((map, p) => { |
| 402 |
map[p.category_id] = p.category_id; |
402 |
map[p.category_id.toLowerCase()] = p.category_id; |
| 403 |
return map; |
403 |
return map; |
| 404 |
}, {}); |
404 |
}, {}); |
| 405 |
}); |
405 |
}); |
| 406 |
- |
|
|