Skip to content

Commit

Permalink
Use next year in api tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie committed Jan 2, 2024
1 parent 5df9cdc commit b07c72d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/services/accredited_provider_api_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

stub_request(
:get,
"https://www.publish-teacher-training-courses.service.gov.uk/api/public/v1/recruitment_cycles/2024/providers?filter%5Bis_accredited_body%5D=true",
"https://www.publish-teacher-training-courses.service.gov.uk/api/public/v1/recruitment_cycles/#{next_year}/providers?filter%5Bis_accredited_body%5D=true",
).to_return(
status: 200,
body: {
Expand Down

0 comments on commit b07c72d

Please sign in to comment.