Ticket: Genres query passes the test, incorrect answer in MFLIX Status

Hi, for the Genres Query, I can pass the test, but in the MFLIX Status page, I got incorrect response. Is it possible to get incorrect response in the MFLIX Status if the Genre Queqy function from moviesDAO.js passes the test ? Server restart did not helped. Thanks



Connection and projection are OK, they are green when I click on them.

Fix solution : in the query, as genre array I was passing GENRE instead of SearchGenre .However, searchGenre is is contruct from GENRE.

const searchGenre = Array.isArray(genre) ? genre : Array(genre)

Apparently the test unit was successful because maybe it was using genre, and not searchGenre.
This topic can be closed