@nickywan123 It’s not passing. It’ll just be running without making any assertions.
Like I said in another thread of yours, the point of tests is to test things. You’re just making a POST request to a URI. You’re not testing anything about that request, whether it was successful or not.
So, add an assertion. If you’re expecting to be redirected to the login page (because the user’s not authenticated, then add that assertion:
@martinbean It passes but what I am trying to achieve is how do I make it fail as because I want to verify that an unauthenticated user is not able to create the thread?