Information Security Projects - Anonymous Message Board

Guys, IDK what’s happening here:


Why is not passing ?

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.50

Challenge: Information Security Projects - Anonymous Message Board

Link to the challenge:

Console:

Post a link to the Replit.

1 Like

There is:

Did you add the test environment variable under the secrets?

1 Like

No, I haven’t . Let me try…

Done, now what’s the next step?

Log says that all 10 functional tests are complete and passing:

Your app is listening on port 3000
Running Tests...


  Functional Tests
[POST] - /api/threads/:board: 0.368ms
(node:1200) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated
(Use `node --trace-deprecation ...` to show where the warning was created)
    ✓ Creating a new thread: POST request to /api/threads/{board} (58ms)
[GET] - /api/threads/:board: 0.082ms
    ✓ Viewing the 10 most recent threads with 3 replies each: GET request to /api/threads/{board}
[PUT] - /api/threads/:board: 0.036ms
    ✓ Reporting a thread: PUT request to /api/threads/{board}
[POST] - /api/replies/:board: 0.767ms
    ✓ Creating a new reply: POST request to /api/replies/{board}
    ✓ Viewing a single thread with all replies: GET request to /api/replies/{board}
[PUT] - /api/replies/:board: 0.034ms
    ✓ Reporting a reply: PUT request to /api/replies/{board}
[DELETE] - /api/replies/:board: 0.032ms
    ✓ Deleting a reply with the incorrect password: DELETE request to /api/replies/{board} with an invalid delete_password
[DELETE] - /api/replies/:board: 0.013ms
    ✓ Deleting a reply with the correct password: DELETE request to /api/replies/{board} with a valid delete_password
[DELETE] - /api/threads/:board: 0.059ms
    ✓ Deleting a thread with the incorrect password: DELETE request to /api/threads/{board} with an invalid delete_password (44ms)
[DELETE] - /api/threads/:board: 0.01ms
    ✓ Deleting a thread with the correct password: DELETE request to /api/threads/{board} with a valid delete_password


  10 passing (170ms)

Submit it, it should be passing now. It is for me anyway.

https://freecodecamp-messageboard-project212.tantofaznem.repl.co

1 Like

Hahaha. WOW. I’m feeling so dumb and noob now. Worked perfectly. Thanks a lot mate :smiling_face_with_three_hearts:

1 Like

Don’t, it is not an uncommon mistake to make. Plenty of other people have done the same thing.

Happy coding!

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.