Skip to content

Send email domains to profile#802

Draft
PetarSimonovic wants to merge 2 commits intomainfrom
send-email-domains-to-profile
Draft

Send email domains to profile#802
PetarSimonovic wants to merge 2 commits intomainfrom
send-email-domains-to-profile

Conversation

@PetarSimonovic
Copy link
Copy Markdown

Status

  • Closes add issue numbers or delete
  • Related to add issue numbers or delete

Points for consideration:

  • Security
  • Performance

What's changed?

Description of what's been done - bullets are often best

Steps to perform after deploying to production

If the production environment requires any extra work after this PR has been deployed detail it here. This could be running a Rake task, a migration, or upgrading a Gem. That kind of thing.

@cla-bot cla-bot Bot added the cla-signed label May 1, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 1, 2026

Test coverage

89.75% line coverage reported by SimpleCov.
Run: https://github.com/RaspberryPiFoundation/editor-api/actions/runs/25218014858

@PetarSimonovic PetarSimonovic force-pushed the send-email-domains-to-profile branch 2 times, most recently from 0de41bc to 615dfc5 Compare May 1, 2026 10:11
Comment on lines +603 to +606
it 'does not make a request to Profile API' do
update_school_email_domains_response
expect(WebMock).not_to have_requested(:patch, update_school_email_domains_url)
end
Copy link
Copy Markdown
Author

@PetarSimonovic PetarSimonovic May 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm using WebMock rather than expanding ProfileApiMock given the TODO comment at the top of that module

@PetarSimonovic PetarSimonovic force-pushed the send-email-domains-to-profile branch from 615dfc5 to 34432b8 Compare May 1, 2026 10:31
Allow the client to PATCH a collection of domains
Set up a job to update Profile's school email domains
@PetarSimonovic PetarSimonovic force-pushed the send-email-domains-to-profile branch from 34432b8 to 9570e79 Compare May 1, 2026 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant