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 c798236 commit 9948081Copy full SHA for 9948081
tests/TemplatesTest.php
@@ -55,14 +55,18 @@ public function testView($view)
55
56
public function testCanResolveFacade()
57
{
58
- resolve('breadcrumbs')->for('foo', function ($trail, $category) {
+ $this->expectNotToPerformAssertions();
59
+
60
+ \Breadcrumbs::for('foo', function ($trail, $category) {
61
$trail->parent('blog');
62
$trail->push($category->title, url("blog/category/{$category->id}"));
63
});
64
}
65
- public function testCanReferenceDirectly()
66
+ public function testCanResolveDirectly()
67
68
69
70
\Diglactic\Breadcrumbs\Breadcrumbs::for('bar', function (\Diglactic\Breadcrumbs\Generator $trail) {
71
72
$trail->push('Bar', 'some/path');
0 commit comments