I have no mistakes and my code is correct!

Tell us what’s happening:
My code doesnt pass the tests. I watched a video on youtube and i did the same code! I dont know what is wrong :confused:

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:79.0) Gecko/20100101 Firefox/79.0.

Challenge: Run Functional Tests on an API Response using Chai-HTTP IV - PUT method

Link to the challenge:

Hello there,

It looks like you have a mismatch between the test, and who you are looking for:

test('send {surname: "da Verrazzano"}', function(done) {
        chai.request(server)
        .put('/travellers')
        .send({surname: 'Colombo'})
        .end((err, res) => {

Hope this helps

so i have to change it to da Verrazzano instead of Colombo correct :question:

Yes, that is correct.

ok thx It really helped :slight_smile: ! Also, is that correct…

chai.request(server)
.put(’/travellers’)
.send({surname: ‘da Verrazzano’})
.end((err, res) => {