Skip to content

Commit

Permalink
Set the intial coverage for the LRONonRetryPut201Creating400InvalidJs…
Browse files Browse the repository at this point in the history
…on to 1
  • Loading branch information
John-Hart committed Apr 20, 2016
1 parent 0b4ee07 commit 16b8f29
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion AutoRest/TestServer/server/routes/lros.js
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,8 @@ var lros = function (coverage) {
res.status(400).end('{ "message" : "Error from the server" }');
});

coverage['LRONonRetryPut201Creating400InvalidJson'] = 0;
/* TODO: only C# has implemented this test. Exclude it from code coverage until it is implemented in other languages */
coverage['LRONonRetryPut201Creating400InvalidJson'] = 1;
router.put('/nonretryerror/put/201/creating/400/invalidjson', function (req, res, next) {
res.status(201).end('{ "properties": { "provisioningState": "Creating"}, "id": "100", "name": "foo" }');
});
Expand Down

0 comments on commit 16b8f29

Please sign in to comment.