Skip to content

Commit

Permalink
Fixed client tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yuryyas authored and GFilipovich committed Nov 4, 2024
1 parent 05706a5 commit 63980bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client-html/src/dev/mock/api/dashboard/DashboardApiMock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export function dashboardApiMock(mock) {

this.api.onPut("/v1/user/preference/category").reply(config => promiseResolve(config, {}));

this.api.onGet("https://ish-oncourse-sttrianians.s3.ap-southeast-2.amazonaws.com/ae3c4a66-a50e-4e85-b5f6-da0b9cec712d").reply(config => promiseResolve(config, JSON.parse(this.db.getDashboardFeeds())));
this.api.onGet("https://oncourse-news.s3.ap-southeast-2.amazonaws.com/news.json").reply(config => promiseResolve(config, JSON.parse(this.db.getDashboardFeeds())));

this.api.onGet("/v1/dashboard/search").reply(config => promiseResolve(config, this.db.getDashboardSearchResult()));
}

0 comments on commit 63980bc

Please sign in to comment.