Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gin-3423033
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Issue forks
gin-3423033
Commits
1a61f0f0
Commit
1a61f0f0
authored
4 years ago
by
Sascha Eggenberger
Committed by
Sascha Eggenberger
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3155687
by saschaeggi: Fix failing tests
parent
df4e66d3
No related branches found
Branches containing commit
Tags
8.x-3.0-alpha21
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/src/FunctionalJavascript/GinTest.php
+7
-5
7 additions, 5 deletions
tests/src/FunctionalJavascript/GinTest.php
with
7 additions
and
5 deletions
tests/src/FunctionalJavascript/GinTest.php
+
7
−
5
View file @
1a61f0f0
...
...
@@ -22,16 +22,18 @@ class GinTest extends BrowserTestBase {
*/
public
static
$modules
=
[
'shortcut'
];
/**
* {@inheritdoc}
*/
protected
$defaultTheme
=
'gin'
;
/**
* Sets up the test.
*/
public
function
setUp
()
{
parent
::
setUp
();
$this
->
assertTrue
(
\Drupal
::
service
(
'theme_installer'
)
->
install
([
'gin'
]));
$this
->
container
->
get
(
'config.factory'
)
->
getEditable
(
'system.theme'
)
->
set
(
'default'
,
'gin'
)
->
save
();
$adminUser
=
$this
->
drupalCreateUser
([
'access administration pages'
,
'administer themes'
]);
$this
->
drupalLogin
(
$adminUser
);
}
...
...
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