Skip to content

Commit ea8bf74

Browse files
committed
tokens need bearers
1 parent 90e3256 commit ea8bf74

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

run/markdown-preview/editor/test/system.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ describe('End-to-End Tests', () => {
8282
const options = {
8383
prefixUrl: BASE_URL.trim(),
8484
headers: {
85-
Authorization: ID_TOKEN.trim(),
85+
Authorization: `Bearer ${ID_TOKEN.trim()}`,
8686
},
8787
retry: 3,
8888
};
@@ -94,7 +94,7 @@ describe('End-to-End Tests', () => {
9494
const options = {
9595
prefixUrl: BASE_URL.trim(),
9696
headers: {
97-
Authorization: ID_TOKEN.trim(),
97+
Authorization: `Bearer ${ID_TOKEN.trim()}`,
9898
'Content-Type': 'application/json',
9999
},
100100
method: 'POST',

run/markdown-preview/renderer/test/system.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ describe('End-to-End Tests', () => {
7373
const options = {
7474
prefixUrl: BASE_URL.trim(),
7575
headers: {
76-
Authorization: ID_TOKEN.trim(),
76+
Authorization: `Bearer ${ID_TOKEN.trim()}`,
7777
},
7878
method: 'POST',
7979
retry: 3,

0 commit comments

Comments
 (0)