Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
A
admin_toolbar
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
admin_toolbar
Commits
c1e10b17
Commit
c1e10b17
authored
Dec 09, 2015
by
eme
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix admin toolbar test.
parent
af273e8c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
src/Tests/AdminToolbarAlterTest.php
src/Tests/AdminToolbarAlterTest.php
+4
-5
No files found.
src/Tests/AdminToolbarAlterTest.php
View file @
c1e10b17
...
...
@@ -28,13 +28,13 @@ class AdminToolbarAlterTest extends WebTestBase {
*
* @var array
*/
public
static
$modules
=
array
(
'toolbar'
,
'admin_toolbar'
,
'admin_toolbar_tools'
);
public
static
$modules
=
array
(
'toolbar'
,
'admin_toolbar'
);
protected
function
setUp
()
{
parent
::
setUp
();
// Create an administrative user and log it in.
$this
->
adminUser
=
$this
->
drupalCreateUser
(
array
(
'access toolbar'
,
'a
dminister modules'
,
'a
ccess administration pages'
));
$this
->
adminUser
=
$this
->
drupalCreateUser
(
array
(
'access toolbar'
,
'access administration pages'
));
$this
->
drupalLogin
(
$this
->
adminUser
);
}
...
...
@@ -44,9 +44,8 @@ class AdminToolbarAlterTest extends WebTestBase {
function
testAdminToolbar
()
{
// Assert that expanded links are present in HTML.
// Test with the
uninstall
link that must be there whatever modules exists.
$this
->
assertRaw
(
'id="toolbar-link-system-
modules_uninstall
"'
);
// Test with the
site configuration
link that must be there whatever modules exists.
$this
->
assertRaw
(
'id="toolbar-link-system-
admin_config_system
"'
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment