public function SubPathautoTest::testOutboundAbsoluteUrl in Sub-pathauto (Sub-path URL Aliases) 8
@covers ::processOutbound
File
- tests/
src/ Unit/ SubPathautoTest.php, line 235
Class
- SubPathautoTest
- @coversDefaultClass \Drupal\subpathauto\PathProcessor @group subpathauto
Namespace
Drupal\Tests\subpathauto\UnitCode
public function testOutboundAbsoluteUrl() {
// The subpath processor should ignore this and not pass it on to the
// alias processor.
$options = [
'absolute' => TRUE,
];
$processed = $this->pathProcessor
->processOutbound('node/1', $options);
$this
->assertEquals('node/1', $processed);
}