79790967

Date: 2025-10-15 08:56:44
Score: 1.5
Natty:
Report link

Super late reply here, but putting this here in case someone needs it later:

The second test is not using the Http header "Accept" with value "application/json"

The first test is using postJson and getJson which adds this header automatically. Therefore you are not receiving json for your get, and seem to be redirected to a login-form.

Assuming this is Laravel + Passport & phpUnit heh.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Tetag