Skip to content

Commit

Permalink
Fix api_spec
Browse files Browse the repository at this point in the history
  • Loading branch information
pskl committed Oct 21, 2024
1 parent 5c120bc commit 1be5285
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/apis/students_api/sygne/api_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

before do
mock_sygne_token
mock_sygne_students_endpoint("007", {}.to_json)
mock_sygne_students_endpoint("007", {}.to_json, SchoolYear.create!(start_year: 2022))
mock_sygne_student_endpoint_with("007", {}.to_json)
mock_sygne_student_schoolings_endpoint("123", {}.to_json)
end
Expand All @@ -32,7 +32,7 @@
end

[
[:establishment_students, { uai: "007" }],
[:establishment_students, { uai: "007", school_year: 2022 }],
[:student, { ine: "007" }],
[:student_schoolings, { ine: "007" }]
].each do |resource, params|
Expand Down

0 comments on commit 1be5285

Please sign in to comment.