projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website]
/
web
/
core
/
tests
/
Drupal
/
KernelTests
/
Core
/
RouteProcessor
/
RouteNoneTest.php
diff --git
a/web/core/tests/Drupal/KernelTests/Core/RouteProcessor/RouteNoneTest.php
b/web/core/tests/Drupal/KernelTests/Core/RouteProcessor/RouteNoneTest.php
index 2b5993392947179591aa483174a8d5a8b8cd92d8..6d26891fdbcb0ce0f4d6e751fc046e7802da613b 100644
(file)
--- a/
web/core/tests/Drupal/KernelTests/Core/RouteProcessor/RouteNoneTest.php
+++ b/
web/core/tests/Drupal/KernelTests/Core/RouteProcessor/RouteNoneTest.php
@@
-53,7
+53,7
@@
class RouteNoneTest extends KernelTestBase {
// Test request with subdir on homepage.
$server = [
'SCRIPT_NAME' => '/subdir/index.php',
// Test request with subdir on homepage.
$server = [
'SCRIPT_NAME' => '/subdir/index.php',
- 'SCRIPT_FILENAME' =>
\Drupal::root()
. '/index.php',
+ 'SCRIPT_FILENAME' =>
$this->root
. '/index.php',
'SERVER_NAME' => 'http://www.example.com',
];
$request = Request::create('/subdir', 'GET', [], [], [], $server);
'SERVER_NAME' => 'http://www.example.com',
];
$request = Request::create('/subdir', 'GET', [], [], [], $server);
@@
-70,7
+70,7
@@
class RouteNoneTest extends KernelTestBase {
// Test request with subdir on other page.
$server = [
'SCRIPT_NAME' => '/subdir/index.php',
// Test request with subdir on other page.
$server = [
'SCRIPT_NAME' => '/subdir/index.php',
- 'SCRIPT_FILENAME' =>
\Drupal::root()
. '/index.php',
+ 'SCRIPT_FILENAME' =>
$this->root
. '/index.php',
'SERVER_NAME' => 'http://www.example.com',
];
$request = Request::create('/subdir/node/add', 'GET', [], [], [], $server);
'SERVER_NAME' => 'http://www.example.com',
];
$request = Request::create('/subdir/node/add', 'GET', [], [], [], $server);
@@
-87,7
+87,7
@@
class RouteNoneTest extends KernelTestBase {
// Test request without subdir on the homepage.
$server = [
'SCRIPT_NAME' => '/index.php',
// Test request without subdir on the homepage.
$server = [
'SCRIPT_NAME' => '/index.php',
- 'SCRIPT_FILENAME' =>
\Drupal::root()
. '/index.php',
+ 'SCRIPT_FILENAME' =>
$this->root
. '/index.php',
'SERVER_NAME' => 'http://www.example.com',
];
$request = Request::create('/', 'GET', [], [], [], $server);
'SERVER_NAME' => 'http://www.example.com',
];
$request = Request::create('/', 'GET', [], [], [], $server);
@@
-104,7
+104,7
@@
class RouteNoneTest extends KernelTestBase {
// Test request without subdir on other page.
$server = [
'SCRIPT_NAME' => '/index.php',
// Test request without subdir on other page.
$server = [
'SCRIPT_NAME' => '/index.php',
- 'SCRIPT_FILENAME' =>
\Drupal::root()
. '/index.php',
+ 'SCRIPT_FILENAME' =>
$this->root
. '/index.php',
'SERVER_NAME' => 'http://www.example.com',
];
$request = Request::create('/node/add', 'GET', [], [], [], $server);
'SERVER_NAME' => 'http://www.example.com',
];
$request = Request::create('/node/add', 'GET', [], [], [], $server);