Fix tests

This commit is contained in:
Rene Pfeuffer
2020-02-25 17:34:41 +01:00
parent e33d65b097
commit c0e0ed3d17
2 changed files with 6 additions and 6 deletions

View File

@@ -118,7 +118,7 @@ describe("sources fetch", () => {
});
it("should fetch the sources of the repository", () => {
fetchMock.getOnce(sourcesUrl, collection);
fetchMock.getOnce(sourcesUrl + "?offset=0", collection);
const expectedActions = [
{
@@ -182,7 +182,7 @@ describe("sources fetch", () => {
});
it("should dispatch FETCH_SOURCES_FAILURE on server error", () => {
fetchMock.getOnce(sourcesUrl, {
fetchMock.getOnce(sourcesUrl + "?offset=0", {
status: 500
});