{"push_id":2380839060,"size":2,"distinct_size":0,"ref":"refs/heads/deployed-to-staging","head":"d1b4770339bb297271a4f2c9003729c0c52b275d","before":"299eb5bdfb0ce0a3f77f80d47e7bf111486e1e40","commits":[{"sha":"3265f39883cd894f42661b7d4d34886e113f3396","author":{"name":"Elena Tanasoiu","email":"744d0d33fe805a7956a89547fa21d09dadad8d97@gmail.com"},"message":"Makes use of usesLicensify API param\n\nFor: https://trello.com/c/QswdEVKO/69-2-changes-to-licensing-controller-for-licensify\n\nIt was pointed out that some licenses are showing up incorrectly as available in licensify,\nwith the user being offered the option to start applying for it, although they cannot continue\nfurther than the first step. This is frustrating because the user gets the feeling of being stuck\nwhen in fact they should've never been offered the option in the first place.\n\nThe API response already tells us whether the licence should be using Licensify, in a param called\n`usesLicensify` so we now check it before showing a start page to the user.\n\nIf the param is set to false, we now display a \"License unavailable\" page instead.","distinct":false,"url":"https://api.github.com/repos/alphagov/frontend/commits/3265f39883cd894f42661b7d4d34886e113f3396"},{"sha":"d1b4770339bb297271a4f2c9003729c0c52b275d","author":{"name":"Elena Tanasoiu","email":"744d0d33fe805a7956a89547fa21d09dadad8d97@gmail.com"},"message":"Adds more integration tests\n\nAdds tests for the following cases for usesLicensify:\n\n1. When visiting an authority with no actions\nWe're now checking for the usesLicensify param stored on an authority's action.\nIf we don't have actions to check, we should just display the \"Licence unavailable\" page.\n2. When at least one action has the uses Licensify param and it is set to true (happy path)\n3. When all actions have the usesLicensify param set to false\n4. When the usesLicensify param is missing for one action\n5. When the usesLicensify param is missing for all actions\n6. When an action has multiple links, some of which have usesLicensify set to true.","distinct":false,"url":"https://api.github.com/repos/alphagov/frontend/commits/d1b4770339bb297271a4f2c9003729c0c52b275d"}]}
{"actor":{"display_login":"govuk-ci"}}