-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1695 from gchq/bugfix/fix-issue-with-putmodelcard…
…-audit updated putmodelcard audit to pass in model card revision object
- Loading branch information
Showing
3 changed files
with
29 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 8 additions & 5 deletions
13
backend/test/routes/model/modelcard/__snapshots__/putModelCard.spec.ts.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,20 @@ | ||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html | ||
|
||
exports[`routes > model > postModel > 200 > ok 1`] = ` | ||
exports[`routes > model > putModelCard > 200 > ok 1`] = ` | ||
{ | ||
"card": { | ||
"_id": "test", | ||
"_id": "6776901b879d08e34b599d7e", | ||
"id": "6776901b879d08e34b599d7e", | ||
"modelId": "test", | ||
}, | ||
} | ||
`; | ||
|
||
exports[`routes > model > postModel > audit > expected call 1`] = `"vespillo"`; | ||
exports[`routes > model > putModelCard > audit > expected call 1`] = `"vespillo"`; | ||
|
||
exports[`routes > model > postModel > audit > expected call 2`] = ` | ||
exports[`routes > model > putModelCard > audit > expected call 2`] = ` | ||
{ | ||
"_id": "test", | ||
"_id": "6776901b879d08e34b599d7e", | ||
"modelId": "test", | ||
} | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters