Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
crop
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
crop
Merge requests
!16
fix
#3240807
: Crop type delete form doesn't warn of deleting dependent config such as image styles
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
fix
#3240807
: Crop type delete form doesn't warn of deleting dependent config such as image styles
issue/crop-3240807:8.x-2.x
into
8.x-2.x
Overview
1
Commits
4
Pipelines
4
Changes
1
1 unresolved thread
Hide all comments
Open
drdam
requested to merge
issue/crop-3240807:8.x-2.x
into
8.x-2.x
6 months ago
Overview
1
Commits
4
Pipelines
4
Changes
1
1 unresolved thread
Hide all comments
Expand
0
0
Merge request reports
Viewing commit
8dfb195f
Prev
Next
Show latest version
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
8dfb195f
fix
#10
· 8dfb195f
drobert
authored
1 month ago
tests/src/Functional/CropFunctionalTest.php
+
1
−
1
Options
@@ -147,7 +147,7 @@ class CropFunctionalTest extends BrowserTestBase {
$this
->
clickLink
(
t
(
'Delete'
));
$this
->
assertSession
()
->
pageTextContains
(
t
(
'Are you sure you want to delete the crop type @name?'
,
[
'@name'
=>
$edit
[
'label'
]]));
// Tests if the user is warned that CROP is used in other configurations.
$this
->
assertSession
()
->
pageTextContains
(
t
(
'Test image style'
,
[
'@name'
=>
$edit
[
'label'
]])
);
$this
->
assertSession
()
->
pageTextContains
(
'Test image style'
);
// Delete a non existent crop type.
$this
->
drupalGet
(
'admin/config/media/crop/manage/'
.
$edit
[
'id'
]
.
'/delete'
);
Loading