I am experiencing an error when submitting the final lesson for Student expert cert. I have checked my tests in the GET final check method and everything checks out correct(All 28 tests are passing) but the error on the POST submit popping up.
error on submit
Final check test results
Tests being flagged as having issues in the submit method response
pm.test([get book by id] path is set to /books/:id
, function () {
const pattern = /{{baseUrl}}/books/{{id}}/
const url = req3.request.url.raw || req3.request.url
pm.expect(url.trim()).to.match(pattern);
});
pm.test([checkout a book] path is set to /books/:id
, function () {
const pattern = /{{baseUrl}}/books/{{id}}/
const url = req5.request.url.raw || req5.request.url
pm.expect(url.trim()).to.match(pattern);
pm.test([delete a book] path is set to /books/:id
, function () {
const pattern = /{{baseUrl}}/books/{{id}}/
const url = req6.request.url.raw || req6.request.url
pm.expect(url.trim()).to.match(pattern);
});