// Test that a path always uses its alias.
$this->createPathAlias("/user/$uid/test1", '/alias/test1'); $this->rebuildContainer(); $this->assertUrlInboundAlter('/alias/test1', "/user/$uid/test1"); $this->assertUrlOutboundAlter("/user/$uid/test1", '/alias/test1');