Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
php
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
php
Commits
b8ca9f84
Commit
b8ca9f84
authored
1 year ago
by
Gábor Hojtsy
Browse files
Options
Downloads
Patches
Plain Diff
Cannot be uninstalled if the filter format is there
parent
5a44d33b
No related branches found
No related tags found
No related merge requests found
Pipeline
#137318
passed with warnings
1 year ago
Stage: build
Stage: validate
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/src/Functional/PhpUninstallTest.php
+4
-3
4 additions, 3 deletions
tests/src/Functional/PhpUninstallTest.php
with
4 additions
and
3 deletions
tests/src/Functional/PhpUninstallTest.php
+
4
−
3
View file @
b8ca9f84
...
@@ -49,10 +49,11 @@ class PhpUninstallTest extends BrowserTestBase {
...
@@ -49,10 +49,11 @@ class PhpUninstallTest extends BrowserTestBase {
$edit
=
[];
$edit
=
[];
$edit
[
'uninstall[php]'
]
=
TRUE
;
$edit
[
'uninstall[php]'
]
=
TRUE
;
$this
->
drupalGet
(
'admin/modules/uninstall'
);
$this
->
drupalGet
(
'admin/modules/uninstall'
);
$this
->
submitForm
(
$edit
,
'Uninstall'
);
$this
->
assertSession
()
->
pageTextContains
(
'Provides a filter plugin that is in use in the following filter formats: PHP code'
);
$this
->
assertSession
()
->
pageTextContains
(
t
(
'Would you like to continue with uninstalling the above?'
));
/*$this->submitForm($edit, 'Uninstall');
$this->assertSession()->pageTextContains('Would you like to continue with uninstalling the above?');
$this->submitForm([], 'Uninstall');
$this->submitForm([], 'Uninstall');
$this
->
assertSession
()
->
pageTextContains
(
t
(
'The selected modules have been uninstalled.'
)
)
;
$this->assertSession()->pageTextContains('The selected modules have been uninstalled.');
*/
}
}
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment