Skip to content

Commit

Permalink
Merge pull request #4 from smartcontractkit/main
Browse files Browse the repository at this point in the history
Instruxi-SxT minor change. Update endpoint url reference (smartcontractkit#3691)
  • Loading branch information
PatricioMacedo authored Feb 20, 2025
2 parents 76077f7 + bd1b913 commit eb820a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
setEnvVariables,
} from '@chainlink/external-adapter-framework/util/testing-utils'
import * as nock from 'nock'
import { mockResponseSuccess, mockResponseError } from './fixtures'
import { mockResponseSuccess } from './fixtures'

describe('execute', () => {
let spy: jest.SpyInstance
Expand Down
4 changes: 2 additions & 2 deletions packages/sources/instruxi-sxt/test/integration/fixtures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const mockResponseSuccess = (): nock.Scope =>
nock('https://api-endpoint-placeholder.com', {
encodedQueryParams: true,
})
.post('/v1/sql')
.post('/')
.reply(
200,
[{ TOTAL_RESERVE: 300000000 }],
Expand All @@ -25,7 +25,7 @@ export const mockResponseError = (): nock.Scope =>
nock('https://api-endpoint-placeholder.com', {
encodedQueryParams: true,
})
.post('/v1/sql')
.post('/')
.reply(
400,
{
Expand Down

0 comments on commit eb820a0

Please sign in to comment.