Skip to content

Commit

Permalink
Fix typo in schema
Browse files Browse the repository at this point in the history
  • Loading branch information
r-ash committed Apr 5, 2024
1 parent cd55ef1 commit ceee028
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions inst/schema/DownloadResultResponse.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"file_extension": { "type": "string" },
"file_label": { "type": "string" }
},
"required": [ "description", "areas", "type", "file_extension", "file_label" ]
},
"required": [ "id", "description", "areas", "type", "file_extension", "file_label" ]
}
},
"required": [ "path", "metadata" ]
}
2 changes: 1 addition & 1 deletion tests/testthat/test-01-endpoints-download.R
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ test_that("spectrum download returns bytes", {
expect_equal(path$metadata$areas, scalar("MWI"))
expect_match(path$metadata$description,
"Naomi output uploaded from Naomi web app")
expect_equal(path$metadata$id, scalar(status_response$data_id))
expect_equal(path$metadata$id, scalar(status_response$data$id))
expect_equal(path$metadata$file_label, scalar("naomi-output"))
expect_equal(path$metadata$file_extension, scalar(".zip"))
})
Expand Down

0 comments on commit ceee028

Please sign in to comment.