Skip to content

Commit

Permalink
Fix front-end tests (#468)
Browse files Browse the repository at this point in the history
The problem was caused by #420 and #466 having incompatible changes (but yet no conflicts).
  • Loading branch information
JosephMarinier authored Feb 27, 2023
1 parent fb6bf4e commit a92d7dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webapp/src/mocks/api/mockConfigAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { AzimuthConfig } from "types/api";
const baseUrl = "http://localhost/api/local";

export const getConfigAPIResponse = rest.get(
`${baseUrl}/admin/config`,
`${baseUrl}/config`,
(req, res, ctx) => {
const azimuthConfigResponse: AzimuthConfig = {
name: "Sentiment Analysis",
Expand Down Expand Up @@ -121,7 +121,7 @@ export const getConfigAPIResponse = rest.get(
);

export const getConfigMultipipelineAPIResponse = rest.get(
`${baseUrl}/admin/config`,
`${baseUrl}/config`,
(req, res, ctx) => {
const azimuthConfigMultipipelineResponse: AzimuthConfig = {
name: "Sentiment Analysis",
Expand Down

0 comments on commit a92d7dc

Please sign in to comment.