That doesn’t look right.
The test for checking status code 200 is the following.
pm.test("Status code is 200", () => {
pm.response.to.have.status(200);
});
Remember to make your test fail as well.
pm.test("Status code is 200", () => {
pm.response.to.have.status(100);
});