Skip to content

Commit

Permalink
test-app: minor fixes in api mock #TASK-4962
Browse files Browse the repository at this point in the history
  • Loading branch information
jmjuanes committed Sep 25, 2023
1 parent 2ab43d8 commit 1c8755d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
3 changes: 1 addition & 2 deletions src/sites/test-app/clients/api-mock/DiseasePanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,7 @@ export default class DiseasePanel {
responses: [{results: [data[0]]}]
}));
}

return this._get("panels", panels, null, null, "info", params);
return Promise.resolve({});
}

/** Update panel attributes
Expand Down
2 changes: 1 addition & 1 deletion src/sites/test-app/clients/api-mock/Family.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ export default class Family {
responses: [{results: [data[0]]}]
}));
}
return this._get("families", families, null, null, "info", params);
return Promise.resolve({});
}

/** Update some family attributes
Expand Down
3 changes: 1 addition & 2 deletions src/sites/test-app/clients/api-mock/Individual.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,7 @@ export default class Individual {
responses: [{results: [data[0]]}]
}));
}

return this._get("individuals", individuals, null, null, "info", params);
return Promise.resolve({});
}

/** Update some individual attributes
Expand Down
3 changes: 1 addition & 2 deletions src/sites/test-app/clients/api-mock/Sample.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,7 @@ export default class Sample {
responses: [{results: [data[0]]}]
}));
}

return this._get("samples", samples, null, null, "info", params);
return Promise.resolve({});
}

/** Update some sample attributes
Expand Down

0 comments on commit 1c8755d

Please sign in to comment.