You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pm.test("Test review 'userId' field", function () {
var jsonData = pm.response.json();
pm.expect(jsonData).to.have.property('userId');
pm.expect(jsonData.userId, '"userId" field must be "1"').to.eql(1);
});
pm.test("Test review 'filmId' field", function () {
var jsonData = pm.response.json();
pm.expect(jsonData).to.have.property('filmId');
pm.expect(jsonData.filmId, '"filmId" field must be "1"').to.eql(1);
});
The text was updated successfully, but these errors were encountered:
В теле запроса передаются
В тесте проверяется что они равны 1
The text was updated successfully, but these errors were encountered: