Skip to content
Snippets Groups Projects
Commit 5f1535fd authored by Sean McGivern's avatar Sean McGivern Committed by Lin Jen-Shin
Browse files

Merge branch '30676-project-export-email' into 'master'

Fix email not being sent after project export

Closes #30676

See merge request !10578
parent c3f0f143
No related branches found
No related tags found
No related merge requests found
Pipeline #
Loading
Loading
@@ -2,7 +2,7 @@
Project #{@project.name} was exported successfully.
%p
The project export can be downloaded from:
= link_to download_export_namespace_project_url(@project.namespace, @project), rel: 'nofollow', download: '', do
= link_to download_export_namespace_project_url(@project.namespace, @project), rel: 'nofollow', download: '' do
= @project.name_with_namespace + " export"
%p
The download link will expire in 24 hours.
Loading
Loading
@@ -1181,6 +1181,22 @@ describe NotificationService, services: true do
should_not_email(@u_disabled)
end
end
describe '#project_exported' do
it do
notification.project_exported(project, @u_disabled)
should_only_email(@u_disabled)
end
end
describe '#project_not_exported' do
it do
notification.project_not_exported(project, @u_disabled, ['error'])
should_only_email(@u_disabled)
end
end
end
 
describe 'GroupMember' do
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment