Welcome to the Linux Foundation Forum!

CH7-Lab1 found issue

I think there is issue with the brand-service.js responds with JSON data in the following format:{ id: number , name:'string'}
- got(${brandtSrvUrl}/1).json() should return { id: 1 , name:'some name'}
but I got {"id":1}
result run validate.js always

Comments

  • Posts: 160

    the correct data has the shape { id, brand, color } not { id, name }

  • "The brand property of the Boat service output corresponds to the id of the Brand service entities"

    boat = { id, brand, color } // brand is a number and we need to get brand info

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training