Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
automatic_updates
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
automatic_updates
Merge requests
!344
Issue
#3285491
: Send an email when a cron update succeeds
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Issue
#3285491
: Send an email when a cron update succeeds
issue/automatic_updates-3285491:3285491-send-an-email
into
8.x-2.x
Overview
4
Commits
14
Pipelines
0
Changes
1
All threads resolved!
Hide all comments
Merged
Adam G-H
requested to merge
issue/automatic_updates-3285491:3285491-send-an-email
into
8.x-2.x
2 years ago
Overview
4
Commits
14
Pipelines
0
Changes
1
All threads resolved!
Hide all comments
Expand
0
0
Merge request reports
Viewing commit
a607642a
Prev
Next
Show latest version
1 file
+
4
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
a607642a
fix failure
· a607642a
Adam Globus-Hoenich
authored
2 years ago
tests/src/Kernel/CronUpdaterTest.php
+
4
−
0
Options
@@ -360,6 +360,10 @@ class CronUpdaterTest extends AutomaticUpdatesKernelTestBase {
* Tests that user 1 is emailed when an unattended update succeeds.
*/
public
function
testEmailOnSuccess
():
void
{
// Use a virtual project so that the test is unaffected by symlinks or other
// artifacts that might be in the running code base.
$this
->
createTestProject
();
// Ensure there is a user account to notify. The updater is hard-coded to
// notify user 1.
$this
->
installEntitySchema
(
'user'
);
Loading