Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
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
293
Merge Requests
293
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
drupal
Commits
7cf195dd
Commit
7cf195dd
authored
Oct 23, 2015
by
alexpott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2597814
by dawehner, Xano: Kerneltests are broken in phpstorm
parent
10f10251
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
core/tests/bootstrap.php
core/tests/bootstrap.php
+7
-0
No files found.
core/tests/bootstrap.php
View file @
7cf195dd
...
...
@@ -80,6 +80,13 @@ function drupal_phpunit_get_extension_namespaces($dirs) {
return
$namespaces
;
}
// We define the COMPOSER_INSTALL constant, so that PHPUnit knows where to
// autoload from. This is needed for tests run in isolation mode, because
// phpunit.xml.dist is located in a non-default directory relative to the
// PHPUnit executable.
if
(
!
defined
(
'PHPUNIT_COMPOSER_INSTALL'
))
{
define
(
'PHPUNIT_COMPOSER_INSTALL'
,
__DIR__
.
'/../../autoload.php'
);
}
// Start with classes in known locations.
$loader
=
require
__DIR__
.
'/../../autoload.php'
;
$loader
->
add
(
'Drupal\\Tests'
,
__DIR__
);
...
...
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