Skip to content

Commit

Permalink
test: ✅ changes in search unit test in terms
Browse files Browse the repository at this point in the history
  • Loading branch information
harshithad0703 committed Oct 12, 2023
1 parent 589faef commit 4b6c06b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/contentstack.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ import httpClient from './core/contentstackHTTPClient.js'
*/
export function client (params = {}) {
const defaultParameter = {
defaultHostName: 'api.contentstack.io'
defaultHostName: 'api.dev18-app.csnonprod.com.io'
}

const sdkAgent = `contentstack-management-javascript/${packages.version}`
Expand Down
2 changes: 1 addition & 1 deletion test/unit/terms-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ describe('Contentstack Term test', () => {
})
it('term search test', done => {
var mock = new MockAdapter(Axios)
mock.onGet(`/taxonomies/taxonomy_uid/terms?term=UID`).reply(200, {
mock.onGet(`/taxonomies/$all/terms?typeahead=UID`).reply(200, {
term: {
...termsMock
}
Expand Down

0 comments on commit 4b6c06b

Please sign in to comment.