@covers ::processInbound
Fichier
-
tests/
src/ Unit/ SubPathautoTest.php, line 215
Classe
- SubPathautoTest
- @coversDefaultClass \Drupal\subpathauto\PathProcessor @group subpathauto
Namespace
Drupal\Tests\subpathauto\UnitCode
public function testInboundAlreadyProcessed() : void {
// 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);
}