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