We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cd3da2 commit d5f33f6Copy full SHA for d5f33f6
packages/framework/tests/Unit/Views/NavigationLinkViewTest.php
@@ -53,6 +53,12 @@ public function testComponentLinksToRouteDestination()
53
$this->testView()->assertAttributeIs('href', 'foo.html');
54
}
55
56
+ public function testComponentResolvesRelativeLinksForRoutes()
57
+ {
58
+ $this->mockCurrentPage('foo/bar');
59
+ $this->testView($this->makeNavItemForPage())->assertAttributeIs('href', '../foo.html');
60
+ }
61
+
62
public function testComponentUsesTitle()
63
{
64
$this->testView()->assertTextIs('Foo');
0 commit comments