Skip to content

Commit 7e296c5

Browse files
authored
Fix test case for parseLinks function
1 parent 5e8dcc0 commit 7e296c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generators/vue/templates/src/main/webapp/app/shared/data/data-utils.service.spec.ts.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ describe('Formatter i18n', () => {
9898
const header = '<http://localhost/api/entities?' +
9999
'sort=date%2Cdesc&sort=id&page=1&size=12> rel="next",<http://localhost/api' +
100100
'/entities?sort=date%2Cdesc&sort=id&page=2&size=12> rel="last",<http://localhost' +
101-
'/api/entities?sort=date%2Cdesc&sort=id&page=0&size=12> rel="first"',
101+
'/api/entities?sort=date%2Cdesc&sort=id&page=0&size=12> rel="first"';
102102
expect(() => dataUtilsService.parseLinks(header)).toThrow();
103103
});
104104

0 commit comments

Comments
 (0)