Skip to content

Commit

Permalink
Change https testing Urls because of Sonarcloud
Browse files Browse the repository at this point in the history
  • Loading branch information
roboli committed Jun 27, 2023
1 parent 9176916 commit 4599998
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api-module-library/frontify/api.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1060,7 +1060,7 @@ describe(`${Config.label} API Tests`, () => {
let scopeOne, scopeTwo;

beforeEach(() => {
scopeOne = nock('http://foo')
scopeOne = nock('https://foo')
.put('/bar', 'foo')
.reply(200, {
data: {
Expand All @@ -1070,7 +1070,7 @@ describe(`${Config.label} API Tests`, () => {
}
});

scopeTwo = nock('http://bar')
scopeTwo = nock('https://bar')
.put('/foo', 'bar')
.reply(200, {
data: {
Expand All @@ -1084,7 +1084,7 @@ describe(`${Config.label} API Tests`, () => {
it('should fetch files from correct endpoints', async () => {
const input = {
stream: ['foo', 'bar'],
urls: ['http://foo/bar', 'http://bar/foo'],
urls: ['https://foo/bar', 'https://bar/foo'],
chunkSize: 'chunkSize'
};

Expand Down

0 comments on commit 4599998

Please sign in to comment.